New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnInit
The OnInit client-side event handler of the ASP NET AJAX Calendar is called when the calendar is first constructed.
The event handler receives one argument:
- the RadCalendar object that fired the event.
The following example uses the OnInit event to initialize the selection to today's date:
ASPNET
<telerik:RadCalendar RenderMode="Lightweight" ID="RadCalendar1" runat="server" >
<ClientEvents OnInit="initializeCalendar" />
</telerik:RadCalendar>