I have a GridView ComboBox Column.
In a other Column I'm trying to show the Display Member from the ComboBox Column.
But when I use the Column Expression it shows always the Value Member of the ComboBox.
1 Answer, 1 is accepted
answered on 19 Sep 2014, 03:37 PM
Thank you for writing.
I am not sure why you want to display the display member of the combo column to another column (the values in both columns will look the same). However in this case you have to populate the second column manually. To achieve this you can use the values form the combo column and retrieve the display member from the combo box column data source. For example you can use the DataBindingComplete event to populate the column cells. In addition you can update the values when the user changes the combo box value by using the CellValueChanged event.
Let me know if you have additional questions.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.