RadCalendar for ASP.NET

OnCalendarViewChanged Send comments on this topic.
See Also
Telerik RadCalendar Client-Side > Client-Side Events > OnCalendarViewChanged

Glossary Item Box

 

Fired

When the calendar is switched to another view (the event is fired for Client and Ajax operation types).<_o3a_p>

Arguments

calendarInstance - the Telerik RadCalendar instance that raised the event.

step - an integer that denotes the increment/decrement value that has been calculated. This value is abstract, as it describes the count of "views" that the calendar has shifted to produce a valid calendar presentation. 

Can be cancelled

No

Example

ascx/aspx

<_asp3a_checkbox id="BeforeExpand" runat="server" text="BeforeClientPanelItemExpanded">
Copy Code
<radc:radcalendar id="Ca1endar1" runat="server">
    <ClientEvents
      OnCalendarViewChanged="Calendar_OnCalendarViewChanged">
   </ClientEvents>
</radc:radcalendar>
 

JavaScript

The javascript function for implementing the OnCalendarViewChanged event looks  like this:
 
Copy Code
function Calendar_OnCalendarViewChanged(calendarInstance, step)
{
      ...
}
Remarks

The event fires after the Ajax request to the server finishes (for Ajax operation type).

See Also