Hello everyone, In my projectI have
twotextboxinside
withinsideajax
calendarextender. Atextboxisto indicate the dateof absence"from" and the secondtextboxisto indicate the date
of absence "to". Once you have selectedthe
date in the calendar"from"
I would like todisablethedates in the calendar"to"
less than theselected datein the calendar"from."
Ofourse you can try deisabling the dates but I will say "Do not try this" as it does background execution of the code that hangs the sites for some time. Say for example if you want to disable the dates from 1978 to 2005 dates.
My practical experience says, I will rather use DateRange Validator to validate the selected date.
nick251988
Member
4 Points
48 Posts
Disabled date ajax calendar extender textbox from - to
Nov 26, 2012 07:22 AM|LINK
Hello everyone,
In my project I have two textbox inside with inside ajax calendar extender.
A textbox is to indicate the date of absence "from" and the second textbox is to indicate the date of absence "to".
Once you have selected the date in the calendar "from" I would like to disable the dates in the calendar "to" less than the selected date in the calendar "from."
Using the C # language.
Does anyone have a solution to my problem please?
Thank you and good day.
jaya kumar
Member
367 Points
103 Posts
Re: Disabled date ajax calendar extender textbox from - to
Nov 26, 2012 07:26 AM|LINK
Hi
http://forums.asp.net/t/1161833.aspx
http://joshrharrison.com/archive/2008/04/12/disable-days-on-asp.net-calendar-control.aspx
nick251988
Member
4 Points
48 Posts
Re: Disabled date ajax calendar extender textbox from - to
Nov 26, 2012 07:38 AM|LINK
thanks for answering,
but the examples are not for my case.
I'm new to this language and I do not know how to deal with the problem.$
you have a solution that is right for my? Please
Thanks a lot!!
Soumen Dey
Member
18 Points
7 Posts
Re: Disabled date ajax calendar extender textbox from - to
Nov 29, 2012 09:35 PM|LINK
Ofourse you can try deisabling the dates but I will say "Do not try this" as it does background execution of the code that hangs the sites for some time. Say for example if you want to disable the dates from 1978 to 2005 dates.
My practical experience says, I will rather use DateRange Validator to validate the selected date.
- Rimbik