I have a ultra web combo (called category) which is databound to a data table of values (can be empty). how ever when trying to read the selected or entered value, it appears i have to read one of several values to find the selected/enetered value.
For example...
If Category.DataValue IsNot Nothing Then
ElseIf Category.DisplayValue IsNot Nothing Then
Else
End If
Hello,
The WebCombo control is able to store two different values: a text and a value. The reason is that you may want to display a different value from you data value for readability. In any case, the DataTextField and DataValueField properties of WebCombo allows you to set this option. If you do not require the values to be different, set these properties to the same field in the WebCombo. Then you can use just the DataValue property to check your values.
Hello
This is exactly what we want to achieve.
The WebCombo should be an editor in a UltraWebGrid. As long, as we don't activate 'Editable', everything works fine. But now, the WebCombo should propose the values to the user - so we set Editable to true and get the following error:
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.
Our Situation: A grid with accountings including transactions. The user can now write the number of the account and sees the corresponding account, or select the account from the list (with his mouse).
With Infragistics Version 7.1 this feature was working.
What am I doing wrong?
Thanks in advance for your help.
Hi,
We've just tried your suggestion and set the editable property to false:
No matter what value we set on the property ComboTypeAhead, the user can not search an entry in the list. It seems it is not possible to have the suggest-mode without the editable Property set to true, because as soon as you set it to false the input-field is disabled, so no entry (in our case for search) is possible.
Thanks for your help
Stefan
My issue is similar but not same. I have an editable webcombo (7.1). I want to validate client side for an entry in the combo. User could either select a value or type-in a new value that is not part of the list.
It would be great if someone could let me know how to access this text user entered in the combo.
I'm able to get the value in server side by combo.Text, I tried getDisplayText, getText both didn't work. Any help would be greatly appreciated. Thx.
Found the solution.
var cbo = igcmbo_getComboById('<%=combo.ClientID %>'); var text = cbo.getInputBox().value;