Is it possible to add an event handler to the grid (e.g. for the RowSelected event) from the client-side javascript?
Example:
I tried calling the grid's add_rowSelected() function, but couldn't get it to work.
Thanks for your help.
-Martin
Example:
<
telerik:RadGrid
ID
=
"grid"
runat
=
"server"
...>
...
<
ClientSettings
>
<
ClientEvents
OnGridCreated
=
"gridCreated"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
...
<
script
>
function gridCreated(sender, eventArgs) {
if (someCondition) {
//
Can I add function rowSelected() as a handler to
the grid's OnRowSelected event?
//
}
}
function rowSelected(sender, eventArgs) {
// do stuff
}
I tried calling the grid's add_rowSelected() function, but couldn't get it to work.
Thanks for your help.
-Martin