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 listWhen 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
nithyag,
This question is answered in detail in the post to which Aaron linked in his post earlier in this thread.
In short, as the exception states, you have to set the DataTextField and DataValueField properties of WebCombo to the same value, so long as its Editable property is set to true.
Hi,
I would like to use editable combo inside the ultrawebgrid using MS updatepanel.
"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."
I am using infragistics following Version for
WebCombo and Ultrawebgrid .
Infragistics2.WebUI.WebCombo.v9.1, Version=9.1.20091.2055, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
="Infragistics2.WebUI.UltraWebGrid.v9.1, Version=9.1.20091.2055, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Also
Also i am using .net3.5
Hi Aabycool,
Please see the following thread for more information on this issue:http://forums.infragistics.com/forums/p/9611/39609.aspx