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

Get The SelectedValue in GridViewComboBoxColumn from Database

1 Answer 225 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad Naveed
Top achievements
Rank 1
Muhammad Naveed asked on 14 Jul 2017, 10:07 AM

I want to update grid row and show the selected value highlighted in GridViewComboBoxColumn so that i can change value from there.

Initially i try so many times but it will display only System.Data.DataRowView in GridViewComboBoxColumn.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Jul 2017, 09:02 AM
Hello Muhammad, 

Thank you for writing.  

Please refer to the following help article which demonstrates how to setup the GridViewComboBoxColumn: http://docs.telerik.com/devtools/winforms/gridview/columns/column-types/gridviewcomboboxcolumn

If you need to change the value, it is necessary to set the Value property of the cell considering the applied ValueMember. In the code snippet from the help article, it is the SupplierID that should be set. 

If you are still experiencing any further difficulties, it would be greatly appreciated if you can provide a sample code snippet for your setup which demonstrates the undesired behavior. Thus, we would be able to investigate the precise case and assist you further.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Muhammad Naveed
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or