RenderControl does not conform standard

Last post 10-29-2005, 5:54 AM by Buckley. 3 replies.
Sort Posts: Previous Next
  •  10-26-2005, 5:54 AM 12013

    RenderControl does not conform standard

    Hi,

    I'm using cuteeditor for a client and convinced him to use this component. It worked great until now.

    I need to generate multilpe editors in a page and since I use the editor in a code fragment that expects pure html it seems I am in trouble. I expected I could just use the RenderControl property as with other controls.

    This person had the same problem and he illustrates the standard solution in his last post :
    http://cutesoft.net/forums/3324/ShowPost.aspx
     
    I can't seem to use use this editor in a simple form tag (not a runat=server) without specifying the <CE:Editor>

    I saw that the classic asp version has a Draw() method that outputs the html.

    I hope I can present my client a solutin soon since I got a dealine tomorrow
  •  10-26-2005, 2:50 PM 12030 in reply to 12013

    Re: RenderControl does not conform standard

    Buckley,

    Can you tell me why you want to use the editor without specifying the <CE:Editor>?

    The CuteEditor for .NET is developered as an ASP.NET server control.

    To use this, CuteEditor must be included in a Web Forms page using a Register directive:

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    After registering the control, you need to place the control tag in the Web Forms page (including the runat="server" attribute):

    <CE:Editor id="Editor1" runat="server" ></CE:Editor>


          


     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-26-2005, 4:01 PM 12034 in reply to 12030

    Re: RenderControl does not conform standard

     
    My client want's to integrate the editor in his backoffice.
    The backoffice is a generic piece of code that reads the table structures of a database and generates update,create & delete forms.
    I have to replace the textarea's with the editor.
    So I have to cut in where this generic piece of code decides to ouput the texterea and make it an editor instead.
    The code builds a long string of input elements and I have to append the editor as pure html
     
    The page doesn't use a <form runat=server> either. It's a simple <form>

    If I could use the RenderControl Method it would open up this editor for me in other projects too... and I love the what I have seen until now so please support it. I have already bought it for my client and I want to use it in other projects too.
    Table manipulation realy stands out if you compare it with other editors.


    Could you maybe provide me with a workaround for the moment? I tried to save the generated html and put it into string.
    But than I noticed you scramble the ouput of the editor a bit and expect the editor to present the data. I was hoping I could just use request["var"]. But this is all very hacky and not a good solution.

    tom 
  •  10-29-2005, 5:54 AM 12113 in reply to 12034

    Re: RenderControl does not conform standard

    I got time till next wednesday to find a solution. If you can't help me I have to go and look for another solution I'm afraid.
View as RSS news feed in XML