Visibility Problem

2 posts, 0 answers
  1. Beshoy
    Beshoy avatar
    6 posts
    Member since:
    May 2013

    Posted 15 Jul 2013 Link to this post

    Hi ,
    I have a problem.
    I want to hide radribbon group bar in code behind according to user roles
    I applied this technique : 
    RadribbonGroupbarControl.visible = false;

    It works but hide all Radribbon Groupbar Controls , but after clicking between two tabs for a while it`s appear again.
    Thanks In Advance. 

  2. Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 17 Jul 2013 Link to this post

    Hi Beshoy,

    Thank you for writing.

    To hide a RadRibbonBarGroup you can use the Visibility property like this:
    radRibbonBarGroup3.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top