RadPanelBar hid iems depend on user roles

2 posts, 0 answers
  1. arkan
    arkan avatar
    8 posts
    Member since:
    May 2015

    Posted 26 Jul Link to this post

    hi all

    im working on project with RadPanelBar in master page iwant to hid some items depend on user roles , for example admin most see some items hidden for other users 

    how to manage this senario 

  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 29 Jul Link to this post

    Hello Arkan,

    You can have the specific items hidden by default (regarding the standard users). In addition, at Page_Load  you can get the current user role and set the needed items visibility to true. For setting some item as visible you can use the below implementation and an example:

    RadPanelBar1.FindItemByText("SomeItem").Visible = true;

    Regards,
    Nencho
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top