views:

27

answers:

0

Hi all,

This is another problem i found with CollectionEditor.

If the order of the items in the CollectionEditor is important, (say im drawing the items on the UserControl preview from left to right) then moving the item up/down in the CollectionEditor does not update the preview.

This is because the up/down buttons only change the item order in the FilterListBox of the CollectionEditor, but not the Collection Property of the UserControl.

I solved this issue in the Windows forms by updating the Collection Property of the UserControl by hooking onto up/down button in a CustomCollectionEditor (subclass of CollectionEditor).

I expected the same thing to work even in WebForms. But i dont know why it is not working. Probably this is happening because of WebForms Designer.

Do you guys have any solution for this?

Thanks,

dattebayo...