|
Tutorial - Select only special dates
|
| | |
Calendar can have unlimited number of special dates.
For each special date you can set CSS class name and a ToolTip.
| | |
ASP.NET
<< | Tuesday, October 14, 2008 | >> |
|
Special dates are marked in red.
Only special dates are selectable.
|
<obout:Calendar runat="server" AllowSelectSpecial="true" EnabledDateExpression="false">
<obout:SpecialDate Year="2006" Month="3" Day="20" ToolTip="Dentist appointment" /> <obout:SpecialDate Year="-1" Month="7" Day="4" ToolTip="Independence Day" CSSClass="indDay" CSSClassOver="indDay" />
</obout:Calendar>
|
| | |
C#
Use AddSpecialDate method. See documentation for details on this method.
Cal.AddSpecialDate(2006, 3, 20, "Dentist Appointment");
Cal.AddSpecialDate(-1, 7, 4, "Independence Day", "indDay");
| | |
| "YOU ARE THE BEST!
The first time in my life I've met with such excellent team.
Almost instant reply! That's amazing!
Thank You Very Much!" |
Arsen Memetov |
| San Computer Antalya, Turkey |
| | |
|