This is a migrated thread and some comments may be shown as answers.

Get parent row index for control inside NestedViewTemplate Itemcommand

1 Answer 330 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Uday
Top achievements
Rank 1
Uday asked on 11 Feb 2011, 05:14 PM
I have RADGrid. with NestedViewTemplate.

In NestedViewTemplate I have user controls, In user control there are some buttons which fires Item Command of the RADgrid.

In this item command I need the row index of the parent row. (the row of which this NestedViewTemplate is part of).

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 11 Feb 2011, 05:48 PM
Hi Uday,

I suggest that you examine the following help article which shows how to get the primary key field for up-level rows using DataKeyNames/DataKeyValues:
Extracting primary key value for parent item in hierarchy on Update/Insert

Regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Uday
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or