Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1375
Reordering groups at run-time
posted

Hi,

I need to programatically reorder groups. I saw this post (http://forums.infragistics.com/forums/t/7869.aspx) and it works except it seems to lose any controls within the group's controlContainer. I've got multiple groups, some of which contain a treeview. New groups may have been added by the end-user as well, so at run-time I don't know exactly which group has what.

Is there any way to reorder the groups without losing what they contain?

 Using v 8.1.

Thanks,

JL

Parents
  • 69832
    Offline posted

    The UltraExplorerBarGroupsCollection.Remove method was recently (March 2008) overloaded so that the caller could specify whether to dispose of the associated control container...for obvious reasons, we dispose of it by default, but if you know you are going to be inserting the group right after it is removed, you could use this overload, and then use the Insert method to reorder it.

Reply Children