Re: RTE Dialogs Fail in .ascx User Control

  •  04-24-2014, 8:41 AM

    Re: RTE Dialogs Fail in .ascx User Control

    Hi jeff330ci,

     

    I just tried with user control, it works fine. I think it should be some coding issue on your page. Can you try the example below too? If the example below works for you too, then can you create an demo which can reproduce this issue and send it to Kenneth@CuteSoft.net? So I can check it for you directly.

     

    User control code

     

    1. <%@ Control Language="C#" ClassName="WebUserControl" %>  
    2. <%@ Register TagPrefix="RTE" Namespace="RTE" Assembly="RichTextEditor" %>  
    3. <RTE:Editor runat="server" ID="Editor1" />  
     

    .aspx page code which use the user control above. 

     

    1. <%@ Page Language="c#" ValidateRequest="false" %>  
    2.   
    3. <%@ Register TagName="uceditor" TagPrefix="UC" Src="~/WebUserControl.ascx" %>  
    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. <body>  
    8.     <form id="Form1" method="post" runat="server">  
    9.         <UC:uceditor ID="uc1" runat="server" />  
    10.     </form>  
    11. </body>  
    12. </html>  
     

    Regards,

     

    Ken 

View Complete Thread