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. Image for the cookie policy date

ComboBox Cell Empty String

Hi, i use the 1.5.2 I set in a Arraylist many objects which have Id and Name property. Of course, i set the DisplayMember and the ValueMember. If the property Name gives an empty string (""), the CellValue which normaly is an Int32 becomes a String (Empty String) Does this bug fixed in higher versions ? Continue the good job Thanks

3 Replies

AD Administrator Syncfusion Team March 20, 2004 11:41 PM UTC

This behavior is still in the 2030 code. Will using a space instead of an empty string as your display member serve to work around this problem?


AN Alexandre Nicholas March 21, 2004 05:43 AM UTC

The same. The space does not change anything, may be the .Text is trimmed. Please, try do debug this problem, it is not logic, and i lose a lot of time with it. thanks >This behavior is still in the 2030 code. > >Will using a space instead of an empty string as your display member serve to work around this problem?


AD Administrator Syncfusion Team March 21, 2004 08:34 AM UTC

The space worked for me in 2.0.3.0 when I tried it before suggesting it to you. I just tried it in 1.5.2.0, and the space seems to work there as well for me. Below is the sample I used. What are you doing differently that makes the space fail as a work around in 1.5.2.0 for this problem? windowtest_4139.zip

Loader.
Live Chat Icon For mobile
Up arrow icon