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

DataKeyNames

2 Answers 1132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 09 Jul 2013, 09:07 PM
I updated my control and notices there was a ground breaking change DataKeyNames. What should I do if I have one mastertableview with many hidden columns that I need to access? Is there a format to adding multiple columns to this property?

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Jul 2013, 03:34 AM
Hi Joshua,

You can add more than one DataKeyNames to the radgrid.Please have a look at the code snippet.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" >
    <MasterTableView DataKeyNames="OrderID,CustomerId,EmployeeID....">
    </MasterTableView>
</telerik:RadGrid>

Hope this helps.Let know if any concern.

Thanks,
Princy
0
Joshua
Top achievements
Rank 1
answered on 11 Jul 2013, 07:19 PM
Thanks
Tags
Grid
Asked by
Joshua
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Joshua
Top achievements
Rank 1
Share this question
or