can I include the editor as a response.write

Last post 11-16-2004, 4:07 PM by sperndogger. 1 replies.
Sort Posts: Previous Next
  •  11-16-2004, 2:59 PM 2452

    can I include the editor as a response.write

    is there a way to do this?
     
    <%@ Page Language="vb"  ValidateRequest="False" %>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <script runat="server">


     
     Public Sub Page_Load(sender As object, e As System.EventArgs)

     
     End Sub
     
    sub putin
        Response.write("<CE:Editor id='Editor1' EnableFancyDropDownMenu='true' AutoConfigure='EnableAll' runat='server'          ImageGalleryPath='/uploads/157'   FlashGalleryPath='/uploads/157' Runat='server' />'></CE:Editor><br /><br />")
     end sub
    </script>
    <html>
        <head>
      <title>ASP and ASP.NET WYSIWYG Editor - Enable All Toolbars</title>
      <link rel="stylesheet" href="example.css" type="text/css" />
     </head>
        <body >
     <% siteid %>
            <form runat="server">
    <% putin %>
      </form>
     </body>
    </html>

    orcais.com
  •  11-16-2004, 4:07 PM 2453 in reply to 2452

    Re: can I include the editor as a response.write

    I guess the question is how do I use the editor outside of calling it from a standard web form control - can't I create a sub routine to create an instance of it? and if so anyone have an example?
    orcais.com
View as RSS news feed in XML