Hello Sir,
I have upgrad Infragistics vol 7.3 2007 to Infragistics vol 8.3 2008.
I Convert Using Project Upgrade Tool .. Now i Run the Web Page I Get the Error Message.
But in Before that is Older Version There is No Problem .
" 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. "
Hi,
Please use the following code to resolve the problem.
var
cmb=igcmbo_getComboById("WebCombo1");
var cmbvalue=cmb.getGrid().getActiveRow().getcell(0).getValue();
It is, it was pilot error on my part. It looked like it was crashing because of that particular combo but there were two others on the form so when I changed the code for those it started working correctly. I do have another, somewhat related question though. Before the upgrade to 8.3 I was setting the DataValueField to the ID field and the DataTextField to the corresponding text value. Since I'm now setting both to the ID it only displays the ID (which I would expect). Is there a way to get it to always display the text field (which isn't currently being assigned anywhere) even though I need the ID when it comes time to save?
That is very strange... I'd bet it should work 100% when these two are pointing to the same field. Could you contact dev support with your sample? Or if it is not too big could you post it here? Thank you!
I'm having the same issue (version 8.3.20083.1009). I left the property set to True since I need to allow the users to type in a value that may not be present in the current list. The code that binds the data to the webcombo is below, but I'm still getting the 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.). Am I missing other settings?
wcFavProjs.DataSource = FavProjectsListwcFavProjs.DataValueField =
"ProjectDescription" wcFavProjs.DataTextField = "ProjectDescription"wcFavProjs.DataBind()