anyone know why i can't use a valuelist from one grid on another grid? i get the following error message:
"valuelist.appearances must be the same as this grid's layout.appearances"
The Appearance.Image property on a ValueListItem can take an image or an index of an image in the ImageList associated with the grid. So sharing a ValueList across two grids can't work because the ValueList appearances won't be able to get the right imagelist.
i don't understand about the .image etc but its weird, it works for some grids we have and not others. i thought it was just that someone here changed the apearances on the ones its not working on and thats why i can't apply it.
i am just creating a valuelist then adding it to a grid then referencing that grids valuelist and adding it to another grid. its not really shareing the value list its creating a new, one isn't it? any ideas would be great.. because it works for some of our grids
Hm, I don't know why this would work at all. Perhaps if you create a ValueList in code and do not add it to the ValueLists collection of the grid's DisplayLayout?
Oh... another option might be to use an UltraDropDown control instead of a ValueList. This is a whole separate control so it can be used in multiple grids. Or you could use an UltraComboEditor control.