We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Combo box selected item displaying empty value some times...Gridcontrol with Combobox

Thread ID:





121016 Nov 3,2015 01:16 PM UTC Nov 5,2015 05:17 PM UTC WPF 1
Tags: GridDataControl
Asked On November 3, 2015 01:16 PM UTC

Combo box selected item displaying empty value some times...
I am using below code....
<sync:GridDataVisibleColumn HeaderText="Week"  MappingName="Week">
                                                                <sync:GridDataColumnStyle CellType="ComboBox"
                                                                                          ValueMember="Value" />

Attachment: GridControl_with_Combobox_a41cb4e2.zip

Sowndaiyan Paulpandi [Syncfusion]
Replied On November 5, 2015 05:17 PM UTC

Hi Raju,

Sorry for the delay caused.

We have analyzed your query with your provided code example. In GridDataControl, the property that you have used in ValueMember should be the same type of the property that you have used for MappingName. And also the corresponding value that you loaded in MappingName property should be present in the collection of ValueMember property. For you reference we have prepared a sample with DisplayMember and ValueMember in ComboBoxColumn and you can download the sample form the following location,

Sample Location : http://www.syncfusion.com/downloads/support/forum/121016/ze/ComboBoxBinding117115572

Please let us know if you need further assistance.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon