ASP.NET Calendar - Date picker - Selected date

The selected date is 100 days after the current date.
The first visible month is also 100 days after the current date.

    Select date

ASP.NET

<ASP:TextBox runat="server" ID="txtDate"></ASP:TextBox>

<obout:Calendar runat="server" id="Calendar1"
                         DatePickerMode="true"
                         TextBoxId="txtDate">
</obout:Calendar>    

C#

Calendar1.SelectedDate = DateTime.Now.AddDays(100);
Calendar1.DateFirstMonth = DateTime.Now.AddDays(100);    

"I have read great things about your support, but you guys really are exceptional. "

Richard Mikesell

Random testimonial   All testimonials