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
55
Editable Webcombo issue in ultrawebgrid
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="ExpenseTypeCode" and DataTextField="ExpenseTypeDesc".

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.

If i set DataTextField & DataValueField to same column name then it works fine but i want list to show

My reason for setting the combo property to true is to allow the user smart navigation i.e. when user types in it will complete the choice automatically from the list
When using 4.3 it worked fine. The problem only arose after the upgrade to 9.1.

And i don't want to remove editable functionality