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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

121016 Nov 3,2015 08:16 AM Nov 5,2015 12:17 PM WPF 1
loading
Tags: GridDataControl
Raju
Asked On November 3, 2015 08:16 AM

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

Attachment: GridControl_with_Combobox_a41cb4e2.zip

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

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.


Regards,
Sowndaiyan



CONFIRMATION

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.

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.

;