How would you set a row click for the gridTableView in code behind? On a 'normal' grid I would use, RadGrid1.ClientSettings.ClientEvents.OnRowClick = "RowClick", but cant see how this would be done for GridTableView?
1 Answer, 1 is accepted
0
Andrey
Telerik team
answered on 06 Oct 2011, 12:51 PM
Hi Mabs,
By default the client event bubbling mechanism of Telerik RadGrid will raise all row events once for the respective row in the grid hierarchy and once for each NestedView which wraps the inner grid row. To identify the table to which the current row belongs you can use the code snippet below:
Another approach to achieve different functionality is to have RadGrid with NestedViewTemplate and to put another RadGrid in it. Thus you will have two different OnRowClick events.
Best wishes,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now