Ajax Control Toolkit Calendar Extender date range - StartDate EndDate for AjaxControlToolkit CalendarExtender - Disable Dates
I found a fix for this somewhere.
It was hard to google it so I am putting it on my blog with compiled DLL for people who want it on-the-fly
And also a source code for people who need to incorporate in their custom dll's
The calendar provides you with startDate and EndDate in order to provide a dateRange and disables it.
Syntax:
<asp:TextBox ID="selected_date" runat="server"></asp:TextBox>
<asp:ImageButton
ID="Image0" runat="server" ImageUrl="images/cal_icon.gif"
AlternateText="Cal"
ToolTip="Click here for Calendar"
/>
<ajaxtoolkit:calendarextender id="selected_date_CalendarExtender"
runat="server"
targetcontrolid="selected_date" format="MMMM d, yyyy"
popupbuttonid="Image0"
startdate="5/1/2009 " enddate="5/31/2009 " />
Here are the link:
DLL
Source Code
Currently rated 5.0 by 1 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5
Tags:
ajaxcontroltoolkit,
calendarextender,
startdate,
enddate,
ajax control,
toolkit,
calendar,
extender
Categories:
ASP.Net