Click here to Skip to main content
15,071,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends, I have a requirement in asp.net I want to disable the past dates in my calendarExtender Like IRCTC. Please any one help me.
Posted
Comments
[no name] 25-Sep-13 1:31am
   
are you using Ajax or not?

Can you post the code you are using?
   
You can do it by specifying value for StartDate property for Calendar Extender in page Load.

CalendarExtender1.StartDate = DateTime.Now;
   
v2
Comments
CH Guravaiah 25-Sep-13 1:34am
   
I wrote that one but past dates are not inactive

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900