Hi ,
I have upgraded my project from infragistics 5.1 to 9.2 version. Now i have some errors after migration. one of the error is , " Valuelist item cannot be added to more than one valuelistcollection " in infragistics dropdown control.
grdProperty.DisplayLayout.ValueLists(
"State").ValueListItems.Add(objItem)grdBrokerMaster.DisplayLayout.ValueLists("State").ValueListItems.Add(objItem)
In the above code , i have added "State" list to two valuelistcollection. In the old version(5.1) it was working fine. Now it is throwing the above error.
Can anyone help me.......
thanks
Raja
Hi Raja,
This was a bug in the old version of the grid that was causing some other problems, so we added an exception to prevent it from happening.
The easiest thing for you to do is simply to create a new ValueListItem with the same DataValue and DisplayText instead of using the same item in two different ValueLists.