If set, the DataKeyNames can be accessed in the RadGrid1.MasterTableView.DataKeyNames
property (server-side) which returns an array of strings ( string ). Then you can check to see if it contains a particular value as suggested in the following StackOverFlow article: https://stackoverflow.com/a/2912507
I hope this will be helpful!
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.