Contents
How RadCalendar compares to ASP.NET Calendar
Standards Compliance
AJAX support
ASP.NET 2.0 Features
Licensing
Installation and deployment
DNN
Telerik RadCalendar Overview
Customizing Appearance
Customizing Behavior
Design-time Support
Localization and Globalization
Date Picker
Time Picker
Telerik RadCalendar Client-Side
Telerik RadCalendar Server-Side
Interoperability with Other Controls
Troubleshooting
How-To
API Reference
|
|
| OnCalendarViewChanged |
Send comments on this topic. |
| See Also |
|
|
Telerik RadCalendar Client-Side > Client-Side Events > OnCalendarViewChanged |
|
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
|