New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Highlight Today Date

There are situations when you may want the today's date in the ASP NET AJAX Calendar highlighted. You can easily achieve this with couple of lines in the markup.

<telerik:RadCalendar RenderMode="Lightweight" runat="server" ID="RadCalendar1">
        <telerik:RadCalendarDay Repeatable="Today">
            <ItemStyle CssClass="rcToday" />

If you are using RadDatePicker or RadDateTimePicker you can use the same approach to highlight the today date in the calendar popup. You need to set the SpecialDays for the underlying Calendar control.

In this article