ASP.NET Calendar - Tutorial - Set minimum date

Calendar can have a minimum date allowed.
Any date lower than this date is disabled.
Also can have a maximum date allowed.
Any date greater than this date is disabled.

 

ASP.NET

<obout:Calendar runat="server" id="Calendar1" />

C#

Calendar1.DateMin = DateTime.Now;
Calendar1.DateMax = DateTime.Now.AddDays(10);

"I really appreciate the way you helped and moreover the help came in such an electrifying speed.. Cool. Keep up the good work !!"

Atanu
Rebaca Technologies Pvt. Ltd.

Random testimonial   All testimonials