I'm new with telerik. What I want to do is basic but I just didn't find how to do it.
I have a radgrid with MasterTableView and one DetailTable. On each row of my detail table I have a linkbutton. What I want to do is to get the value of the first column on my detailtable of the row I just clicked on, on the code-behind. I tried many event but I couldn't find which one was the right one and how to get the value of my first column.
Please help
this is my code
<
telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
AllowSorting="True" DataSourceID="CustomerSource" GridLines="None"
AutoGenerateColumns="False">
<MasterTableView datasourceid="CustomerSource" DataKeyNames="NO_FOURNISSEUR">
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="False" Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<EditFormSettings>
<PopUpSettings ScrollBars="None"></PopUpSettings>
</EditFormSettings>
<Columns>
<telerik:GridBoundColumn SortExpression="NO_FOURNISSEUR"
HeaderText="NO_FOURNISSEUR"
DataField="NO_FOURNISSEUR"
UniqueName="NO_FOURNISSEUR"
ReadOnly="true"
Visible="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="NOM"
HeaderText="NOM"
DataField="NOM"
UniqueName="NOM"
ReadOnly="true"
Visible="true">
</telerik:GridBoundColumn>
</Columns>
<DetailTables>
<telerik:GridTableView DataKeyNames="No_fournisseur_produit" DataSourceID="PanierItemSource" >
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="NO_FOURNISSEUR" MasterKeyField="NO_FOURNISSEUR" />
</ParentTableRelation>
<Columns>
<telerik:GridBoundColumn SortExpression="No_fournisseur_produit"
HeaderText="No fournisseur produit"
DataField="No_fournisseur_produit"
UniqueName="No_fournisseur_produit"
ReadOnly="true"
Visible="true">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn ButtonType=LinkButton UniqueName="LkConfirmer" CommandName="ConfirmerUnItem" Text="Confirmer">
</telerik:GridButtonColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>
Thanks in advance