I am very beginer using rad controls. I have a situation where i want to display the data in grid and need to provide the link to key filed. I need to display the details in new web page when user selet the link in the grid. I am not really sure how i can capture the key field associated to link. below is my code. Can you please help me on this?
Thanks
RP
<
telerik:RadGrid ID="grdDealerList" runat="server"
AllowPaging="True" AllowSorting="True" GridLines="None" PageSize="10" ShowStatusBar="true" OnItemCommand="RadGrid1_ItemCommand" >
<PagerStyle Mode="NumericPages" />
<MasterTableView Width="100%" >
<Columns>
<telerik:GridButtonColumn DataTextField="DEALER_NUM" CommandArgument="DEALER_NUM" HeaderText="Dealer Number" CommandName="Select">
</telerik:GridButtonColumn>
<telerik:GridHyperLinkColumn
DataNavigateUrlFields= "DEALER_NUM,ROW_ID"
DataNavigateUrlFormatString= "~/Details.aspx?DealerNum={0}&RowID={1}" DataTextField="DEALER_NUM">
</telerik:GridHyperLinkColumn>
</Columns>
</MasterTableView>
<ClientSettings EnablePostBackOnRowClick="true" >
<Selecting AllowRowSelect="True" ></Selecting>
</ClientSettings>
</telerik:RadGrid>