Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, October 24, 2017 8:41 AM
just found out textbox can support date selection
what i need now is just select month+year, without the day
I set TextMode=Month, but during selection, day selection is still being expected
is there an option to disable/ignore day?
All replies (3)
Wednesday, October 25, 2017 1:16 AM âś…Answered
Hi Kelmen,
I try to refer the documentation and find that it is not compatible with IE(6,7,8,9,10), Firefox.
it is compatible with Chrome, Safari, Opera.
I try to make a test on my side and find the results below.
testing with Chrome:
testing with Edge:
testing with IE 11:
testing with Firefox:
so you can see that in chrome it is working properly. other then that in safari and opera also support it.
so you can try to make a test with these browsers.
otherwise you can try to use Date picker control and try to fetch only year and month from it.
Reference:
Introducing Textmode in ASP.NET 4.5
Regards
Deepak
Tuesday, October 24, 2017 3:18 PM
Hi,
Which browser ? The UI depends then on the browser and if I remember a browser does let you select a date even if it is unused in the final posted value...
Wednesday, October 25, 2017 7:05 AM
look like there is no way to suppress the day in month selector
the info is good enough to tell me better switch to standard 2 textboxs for year and month