This is a migrated thread and some comments may be shown as answers.

Varying Permissions for Editor

1 Answer 43 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Megan
Top achievements
Rank 1
Megan asked on 27 May 2011, 03:01 PM
Hello,

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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Jun 2011, 11:06 AM
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,
Rumen
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.

Tags
WebParts for SharePoint
Asked by
Megan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or