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
470
UltraExplorerBar enabling/disabling link according to roles of registered members..
posted

Dear all,

 I'm using UltraExplorerBar  for my window Application..

it has number of group and group items.....

My question is how to enable/disable group item/total group in UltraExplorerBar control....

just my defining menus at design time only....there is no dynamic menus....

 For example.

when an user click on Group. i'm showing Group items.. when an user click on Group items i'm loading the form according the item form using MDI form... 

So, please help me... 

 

Thanks in advance... 

Regards

ateeqpasha 

  • 2263
    posted

    It sounds like you are asking how to disable/enable groups and items in your UltraExplorerBar.  You can disable/enable groups with code similiar to the following:

    // Disables entire first group and all its items

    this.ultraExplorerBar1.Groups[0].Enabled = false;

    You can disable/enable items with code similar to the following:

    // Disables the first item in the second group of the UltraExplorerBar

    this.ultraExplorerBar1.Groups[1].Items[0].Settings.Enabled = Infragistics.Win.DefaultableBoolean.False;

    Hopefully that helps.