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

Get expanded parent row from CommandItemTemplate in DetailsTable

0 Answers 8 Views
Grid
This is a migrated thread and some comments may be shown as answers.
davortsan
Top achievements
Rank 1
davortsan asked on 19 Apr 2017, 10:02 AM

Hi mates,

I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:
<CommandItemTemplate>
< asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
< /CommandItemTemplate> 
I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?

Thanks a lot in advance.

Cheers.

David Ortega

No answers yet. Maybe you can help?

Tags
Grid
Asked by
davortsan
Top achievements
Rank 1
Share this question
or