limit date range with calendar

  • Thread starter Thread starter nicknack
  • Start date Start date
N

nicknack

Hello.
I'm useing a calendar control on my page and I want to let the user
pick a date from today untill 14 days from today.

Is there a way to limit the dates that will appear on the calendar
control (I want to avoid haveing to check after the selection what did
the user select)?

Thanks in advance,
Roy.
 
Hello.
I'm useing a calendar control on my page and I want to let the user
pick a date from today untill 14 days from today.

Is there a way to limit the dates that will appear on the calendar
control (I want to avoid haveing to check after the selection what did
the user select)?

Using DayRender event and IsSelectable property you can set which date
can be selectable

http://msdn2.microsoft.com/en-us/library/k4t1kwcd(VS.80).aspx
look at "To specify that an individual day can be selected"
 
Thanks Alexey,

Its look like what I needed.

I'll start reading :)

Thanks,
Roy.

Alexey Smirnov כתב:
 
Back
Top