How can I only transfer Datagridview selected row to a Radgridview with the same columns ?
1 Answer, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 04 Feb 2019, 02:56 PM
If I understand your requirement correctly, you need to set the same selected row in RadGridView as the selection in DataGridView. For this purpose I can suggest you to extract a unique cell's value from the selected row in the DataGridView, e.g. ID column. Then, iterate the Rows collection in RadGridView and compare the respective cell's value with the extracted one. If you find the relevant row in RadGridView, you can mark it as selected. The following help article is quite useful about selecting rows in RadGridView: https://docs.telerik.com/devtools/winforms/controls/gridview/rows/selected-rows-and-current-row
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
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.