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();
ptmpComboBox.DataSource=dtStreetTable;
ptmpComboBox.DisplayMember="street_name";
ptmpComboBox.ValueMember="street_code";
//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?
Thanks,
NullError_46b9f2a2.zip