Hi,
I am using the UltraWingrid, I have a wincombo as an editor inside the grid.
I don't have a problem when the Wincombo is selecting one value. If I implement multiple values as shown in
http://help.infragistics.com/NetAdvantage/WinForms/2011.2/CLR2.0/?page=WinCombo_Selecting_Multiple_Values_within_WinCombo.html
and I try to update I get the following error:
Unable to update the data value: Value in the editor is not valid
I have put a breakpoint on almost all the eventssuch as BeforeExitEditMode and afterExitEditMode and the values seems correct, the combination of all the selected values.
Please advise this seems an error in the grid since it accepts and update a single value correctly.
Jayson.
Hi Jayson,
What's the DataType of the grid column? It needs to be an object array.
Hi Mike,
Thanks for the reply, the datatype is a string, I am retrieving it from the database. I tried using an unbound column and setting its datatype to an object array, however I am not able to assign the column values to the value from the database.
Is there an example on how to implement the solution?
Thanks, Jayson.
Hi Sunil,
This error message seems pretty self-explanatory. There's a MaxLength applied to either the grid column or the data source and that value you are trying to apply is too long.
I am also getting error as below while updating value in the ultragrid.
"Unable to update the row:Cannot set column 'code_company'. The value violates the MaxLength limit of this column."
I have attached screen shot as well for the same.
I am using ColumnStyle as DropDownList.
Can you please help me in this how can I fix this issue?
Thanks,Sunil
The last issue in the thread was logged as development issue 157991: When setting column style to "DropDownList" and selecting two values produces an error "Unable to update the data value: Value in the editor is not valid".
This was resolved in the January 2014 Service release so if you are using a version from before then you will want to upgrade. If you are using a current version, you should submit the issue in a new thread with more details so we can look into this.
I am getting the same problem, which is solved if I get rid of the line setting the style to DropDownList.
Is this a bug which has still not been resolved?
My problem is that I want to set the style to DropDownList because I don't want users to be able to enter values not in the drop down list.
Thank you!
Thanks Mike,
This worked. I currently don't need anything else. As for the support case it is up to development to investigate.
Regards, Jayson