Hi,
I have two text boxes (from date and to date). Based on your demo i have disabled the future date but my requirement is
1). First i have select the from date. eg: 21-02-2013
2). Now i am selecting TO DATE. eg:21-01-2013
Now my requirement is i need to disable dates until 21-02-2013 to current date. Then user not able to select ToDate as 21-01-2013 i need to provide only option to select from 22-02-2013 to current date.
I hope you understand my requirement.. If you want more details pls mail me....
Thanks and Regards,
Govind.... :)
<asp:Label ID="lbl_sel_date" runat="server" Text="Select Date: "></asp:Label>
<asp:TextBox ID="txtDate_from" runat="server" CssClass="disable_future_dates"></asp:TextBox>
<asp:ImageButton runat="server" ID="imgPopup" ImageUrl="~/Calendar.png" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate_from"
PopupButtonID="imgPopup" />
<asp:TextBox ID="txtDate_to" runat="server" CssClass="disable_future_date"></asp:TextBox>
<asp:ImageButton runat="server" ID="imgPopup1" ImageUrl="~/Calendar.png" />
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtDate_to"
PopupButtonID="imgPopup1" />