Re: noneditable areas don't work consistently

  •  02-17-2014, 7:59 AM

    Re: noneditable areas don't work consistently

    Hi tarannar,

     

    Can you try the example page below? Can you reproduce the same problems with it?

     

    1. <%@ Page Language="c#" ValidateRequest="false" %>  
    2.   
    3. <%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>  
    4.   
    5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    6. <html xmlns="http://www.w3.org/1999/xhtml">  
    7. <head>  
    8.     <script runat="server">  
    9.         protected override void OnLoad(EventArgs e)  
    10.         {  
    11.             Editor1.Text = @" <div unselectable='on' contenteditable='false'>read only</div> <div>editable content</div>";  
    12.             base.OnLoad(e);  
    13.         }  
    14.     </script>  
    15. </head>  
    16. <body>  
    17.     <form id="Form1" method="post" runat="server">  
    18.         <RTE:Editor ID="Editor1" runat="server" />  
    19.     </form>  
    20. </body>  
    21. </html>  

     

     

    Regards,

     

    Ken 

View Complete Thread