Hi,
I have a Self-referencing hierarchy grid (I am using code in this link http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx),
I want to to call radGrid ItemCommand event for "RowClick" only when childrows clicked.. I am using client event (below) for that,
RadGrid1.ClientSettings.ClientEvents.OnRowSelecting = "RowSelecting"
function RowSelecting(sender, eventArgs) {
var parentRow = eventArgs.get_tableView().get_parentRow();
if (parentRow == null) {
eventArgs.set_cancel(true);
}
}
When I click the parent row, its calling the javascript function and cancelling the event..BUT ItemCommand event is still executing..
How to avoid this?
Thanks