limit date range with calendar

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.
 
G

Guest

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"
 
N

nicknack

Thanks Alexey,

Its look like what I needed.

I'll start reading :)

Thanks,
Roy.

Anon User כתב:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top