RadEditor Template Manager

4 posts, 0 answers
  1. Vinoth
    Vinoth avatar
    25 posts
    Member since:
    Aug 2012

    Posted 08 Jun 2011 Link to this post

    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 
  2. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 10 Jun 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vinoth
    Vinoth avatar
    25 posts
    Member since:
    Aug 2012

    Posted 22 Jun 2011 Link to this post

    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
  5. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 22 Jun 2011 Link to this post

    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.

Back to Top