Chaning the icon image and size of template within cuteditor

Last post 01-14-2010, 9:17 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  01-14-2010, 1:46 PM 58173

    Chaning the icon image and size of template within cuteditor

    Hi
     
    I am using cute editor in our application. Is it possible to increase the width of the template icon or change the icon. We want the template functionlaity should have some extra focus. 
     
    is it possible to call the inserttemplate window from outside the cuteeditor like clicking the button opens inserttemplate window?
     
     
    Thanks
    jeevitha
  •  01-14-2010, 9:17 PM 58177 in reply to 58173

    Re: Chaning the icon image and size of template within cuteditor

     
    How to change the toolbar ico of editor.
     
     
    How to open Inserttemplate dialog use another button.
    Try the example below.
     
    1. <%@ Page Language="C#" %>   
    2.   
    3. <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>   
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    5. <html xmlns="http://www.w3.org/1999/xhtml">   
    6. <head runat="server">   
    7.     <title>example</title>   
    8. </head>   
    9. <body>   
    10.     <form id="form1" runat="server">   
    11.         <div>   
    12.             <CE:Editor ID="editor1" runat="server">   
    13.             </CE:Editor>   
    14.             <input type="button" value="Open Inserttemplate Dialog" onclick="openDialog()" />   
    15.         </div>   
    16.     </form>   
    17. </body>   
    18. </html>   
    19. <script type="text/javascript">   
    20. function openDialog()   
    21. {   
    22. var editor1=document.getElementById("<%= editor1.ClientID %>");   
    23.   
    24. editor1.ExecCommand("InsertTemplate");   
    25. }   
    26.   
    27. </script>  
    Regards,
     
    Ken
View as RSS news feed in XML