Re: ShowPreviewToolbar not work

  •  01-21-2013, 12:19 PM

    Re: ShowPreviewToolbar not work

    Hi kjell.ek,

     

    Please try the example below. Does it work for you?

     

    1. <%@ Page Language="c#" %>  
    2.   
    3. <%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>  
    4.   
    5. <script runat="server">  
    6.      protected void Page_Load(object sender, EventArgs e)  
    7.     {  
    8.         editor1.ShowPreviewMode = false;  
    9.         editor1.ShowPreviewToolbar = false;  
    10.         editor1.ShowCodeMode = false;  
    11.         editor1.ShowCodeToolbar = false;  
    12.     }  
    13. </script>  
    14.   
    15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    16. <html xmlns="http://www.w3.org/1999/xhtml">  
    17. <head>  
    18.     <title>example</title>  
    19. </head>  
    20. <body>  
    21.     <form id="Form1" method="post" runat="server">  
    22.         <RTE:Editor ID="editor1" runat="server" />  
    23.     </form>  
    24. </body>  
    25. </html>  
     

    Regards,

     

    Ken 

View Complete Thread