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
|
|
| OnRowHeaderClick |
Send comments on this topic. |
|
Telerik RadCalendar Client-Side > Client-Side Events > OnRowHeaderClick |
|
Fired |
When a calendar row header is clicked. That event occurs only if the property ShowRowHeaders is set to true. |
|
Arguments |
calendarInstance - the Telerik RadCalendar instance that raised the event.
args (composite argument)
-
args.DomElement - the cell event object corresponding to the click event (you can use this object to get the x, y coordinates of the mouse click).
-
args.RowIndex - the row index of the clicked cell in the calendar table. Note that the rows array is zero-based. |
|
Can be cancelled |
Yes, return false to cancel. |
|
Example |
ascx/aspx
|
Copy Code |
|
<radc:radcalendar id="Ca1endar1" runat="server "> <ClientEvents OnRowHeaderClick="Calendar_OnRowHeaderClick"> </ClientEvents> </radc:radcalendar> |
JavaScript
The javascript function for implementing the OnRowHeaderClick event looks like this:
|
Copy Code |
|
function Calendar_OnRowHeaderClick(calendarInstance, args) { .... return TraceEvent("OnRowHeaderClick", "Proceed the selection of the row with index " + args.RowIndex + "?"); } | |
|