Varying Permissions for Editor

2 posts, 0 answers
  1. Megan
    Megan avatar
    1 posts
    Member since:
    May 2011

    Posted 27 May 2011 Link to this post


    We have a client that would like to give some users the ability to override stylesheets by changing colors, fonts, etc.  And other users that should not have that ability.

    We are being told by our developers that the editor features are either available for all users or none.  Is this correct?

    If not, how can we allow different user groups to have different access with regards to the editor?

  2. Rumen
    Rumen avatar
    12787 posts

    Posted 01 Jun 2011 Link to this post

    Hello Megan,

    If you are talking about the ability to load CSS files through the CssFiles property of RadEditor then you can implement your own WebPart that will load different file(s) through the CssFiles property according to the logged user.

    if (UserRole == "Admin")
        RadEditor1.CssFiles.Add(new EditorCssFile("~/Css/Admin.css"));
    else RadEditor1.CssFiles.Add(new EditorCssFile("~/Css/Common.css"));

    If your scenario is other please explain it in more details.

    Best regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top