Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Editable WebCombo in WebGrid
posted

I have a situation where I add a webcombo to a webgrid. The webgrid is bound to a list object, with the combo's DataValueField="DatabaseID" and DataTextField="DatabaseName". I can add the combo to the grid fine and everything works 100%.

My problem come in when I set the combo's Editable="true" I get the following exception when setting the EditorControlID for the column in the grid.

"WebCombo has the Editable property set to True; therefore it must have equal DataTextField and DataValueField to be used as an editor in an UltraWebGrid."

 My reason for setting the combo property to true is to allow the user set the value to null. I know a way around this is to add an item to the list object with DatabaseID = 0 (something i know i can set to dbnull) and DatabaseName = "", but I don't like that as a solution.

I am primarily a windows form developer, i know this can be done in a wingrid. I've also recently upgraded to Infragistics 8.2 from 73. When using 7.3 it worked fine. The problem only arose after the upgrade.

Parents
No Data
Reply
  • 35
    posted

    I too have this situation: we upgraded from version 7.2 to version 11.1

    None of your suggested fixes work, but if what you (Infragistics) say is correct, the bug would have been dealt with in release version 8.

    I have tried everything and am at my wits end. The only other option open to us is to stop using infragistics, which we are considering as frankly, nothing works properly and it's just a waste of time. What do I do to get past this issue?

Children
No Data