<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Sitefinity" onitemcommand="RadGrid1_ItemCommand" onitemdatabound="RadGrid1_ItemDataBound1" > <MasterTableView AutoGenerateColumns="false" GridLines="None"> <Columns> <telerik:GridButtonColumn DataTextField="firstname" UniqueName="col1" ButtonType="LinkButton" CommandName="detail"></telerik:GridButtonColumn> </Columns> </MasterTableView> <HeaderContextMenu EnableAutoScroll="True"> </HeaderContextMenu> </telerik:RadGrid>
Now I want to assign the command argument of GridButtonColumn with id(pk) from my db table,
so that every row is corresponding to an id which I can access later withour shpwng on the grid view