Click here to Skip to main content
15,031,495 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to disable past date in Ajax calandare extender in asp .net?
Posted

hi,

For date greater than to year 2012

VB
<ajax:CalendarExtender ID="CalendarExtender1" runat="server"
           TargetControlID="txtSateDate"
           PopupButtonID="imgSateDate"
           StartDate = "01/01/2012"
           />



check these links :-

a) http://stackoverflow.com/questions/820192/disable-previous-dates-in-ajaxtoolkit-calendarextender[^]

b) http://www.aspsnippets.com/Articles/AJAX-CalendarExtender-Disable-Past-Date-Selection.aspx[^]

c) http://www.advancesharp.com/Blog/1002/disable-dates-in-ajax-calendarextender[^]
   
v2
Set the StartDate property of Ajax calendar extender to TODAY's Date.
   
Comments
CH Guravaiah 25-Sep-13 1:16am
   
I want like IRCTC. In that past dates are 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