My RadGrid bonded to a list collection, but bonded no to all fields. Is there any way to get another field from DataMember bonded to exact row which user has selected.
1 Answer, 1 is accepted
0
Radoslav
Telerik team
answered on 19 Jul 2013, 06:27 AM
Hello Pavel,
To achieve the desired functionality you can add the fields from the data source into the RadGrid.MasterTableView.DataKeyNames or RadGrid.MasterTableView.ClientDataKeyNames collections. Then you can get the values for the corresponding rows via DataItem.GetDataKeyValue on server side or dataitem.getDataKeyValue on the client.
I hope this helps.
Regards,
Radoslav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.