Hi,
I want to copy the valuelist from one to another. I have used clone method it works fine. I found one property called CopyTo at ValuelistItems, I Want to use that but do not know how to do so.
Please help me how to copy each items of valuelist using valuelistitems using copyTo method.
I want to do
ultraGrid1.DisplayLayout.ValueLists["MyFirstVList2"].ValueListItems.CopyTo(MySecondVList2);
Did you know that you can assign the same ValueList to more than one column?
the target array must have enough space to receive the items. I hope it helps.
MyFirstVList2.ValueListItems.CopyTo(items, 0);
MySecondVList2.ValueListItems.AddRange(items);
Sven