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

RadEditor Template Manager

3 Answers 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vinoth Arun
Top achievements
Rank 2
Vinoth Arun asked on 08 Jun 2011, 02:44 PM
Hi to all,

Friends i need to do maintain templates for Rad Editor.
I upload 4 different types of Templates (.html,.css)

ex:
 "Temp1.html" have its own CSS
 "Temp2.html" have its own CSS
 "Temp3.html" have its own CSS

If i Choose  "Temp1.html"  display its template design
if i choose another one display its template design.

and if i get the content from rad editor. with template design

any one help.....

Thanks

Vinoth Xavier 

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Jun 2011, 02:23 PM
Hi Vinoth,

Unfortunately, I was unable to understand what the problem is. Could you please explain the problem in more details, provide a couple of screenshots and your template files so that I can reproduce the problem?

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.

0
Vinoth Arun
Top achievements
Rank 2
answered on 22 Jun 2011, 02:29 PM
Hi

The issue was solved thanks,


But I have another query, Can you explain,

" I need to put controls like Text,Image,Video inside of Rad Editor  but for the user it shows Read only how we can set it as read only."

 Set Rad Editor as Read Only

thanks in advance
0
Rumen
Telerik team
answered on 22 Jun 2011, 04:12 PM
Hello Vinoth,

Try the following code:
<script type="text/javascript">
    function OnClientLoad(editor) {
        editor.enableEditing(false);
        var tool = editor.getToolByName("ImageManager");
        tool.setState(0);
</script> 
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad"
    <Content>sample content</Content> 
    <ImageManager ViewPaths="~/images" UploadPaths="~/images" />
</telerik:RadEditor>


Kind 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
Editor
Asked by
Vinoth Arun
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Vinoth Arun
Top achievements
Rank 2
Share this question
or