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

databinding ComboBoxAdv NULL value

Thread ID:





79662 Feb 19,2009 09:00 PM UTC Mar 3,2009 12:18 PM UTC WinForms 3
Tags: Tools
Lan Mo
Asked On February 19, 2009 09:00 PM UTC

Hi there,
V4.4.0.51, GGC and ComboBoxAdv

GGC displays pavement table data. ComboBoxAdv display street pickup list etc.

for Syncfusion.Windows.Forms.Tools.ComboBoxAdv,
I use following code to bind a ComboBoxAdv to a table field.

//set ComboBoxAdv list to a street lookup table
ComboBoxAdv ptmpComboBox =new ComboBoxAdv();

//bind ComboBoxAdv selectedvalue to dtPavement - pavemenet table's street field which stores street code of the pavement is on

ptmpComboBox.DataBindings.Add("SelectedValue",dtPavement,"street ");
the problem is:
when the pavemenet street field data is null (empty), the ComboBoxAdv will always display the first item in the pickup list. I want to it display empty (null) too like the GGC did.

Please see my attched screen shot. see the Street field in the GGC grid which is empty (null), but in the below street pickup control, it displays the first item in the picklist which is unknown/undefined.

does the ComboBoxAdv have property to set up so that it can display empty when the binding data is null?



Administrator [Syncfusion]
Replied On February 24, 2009 09:21 AM UTC

Hi Lan Mo ,

I am afraid that I was not able to see the issue of 'ComboBoxAdv always display the first item in the list when the row data is null (empty)' in version.

Please try reproducing the issue from the sample below and let me know if I missed out anything in reproducing the issue.


Please try setting SelectedIndex of ComboBoxAdv to -1 to display empty value.

Please let me know if you have any questions.


Lan Mo
Replied On February 24, 2009 09:46 PM UTC

Hi Jaya,

thank you for your help.

I've revised your sample. Please see my comments on the form, you will see the problem.




Administrator [Syncfusion]
Replied On March 3, 2009 12:18 PM UTC

Hi Lan Mo,

Thanks for the update.

We are glad to inform you that this issue has been fixed in our latest Syncfusion Essential Studio 2009 Volume 1 final release This build is available for download from the following location.

Download link:


Unlock key:

If your Essential Studio license is valid, you will be able to obtain the key to install this version from your Direct-Trac account or contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com for further assistance.

Please let me know if there are any concerns.



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

or the page will be automatically redirected to 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