Editor Functions

Last post 01-12-2007, 9:56 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  01-12-2007, 7:10 AM 25750

    Editor Functions

    I have the Editor sitting in a .net Form


    <
    form id='mainfrm' name='mainfrm' action='page_create.aspx' method='post' runat='server'>
       <CE:Editor
          id="Editor1"
          Width="435"
          FilesPath="CuteEditor/"
          runat="server"
          EditorWysiwygModeCss="cuteipa.css"
          ConfigurationPath="CuteEditor/Configuration/AutoConfigure/ipatools.config" 
       /
    >
       <asp:Button
          ID="button5"
          OnClick="ContentNext"
          Text="NEXT STEP"
          runat="server" 
        />
    </form>
     
     I have my VB code (ContentNext) needing to read in the value of the HTML written into the Editor to pass onto a session variable.
     
    I've searched the site but am unable to find out how to access this information that allows me to do this. I know the object is not .value. Also is there a list of the functions that can be used on the Editor Object listed somewhere?

    Sub ContentNext(ByVal Source As Object, ByVal e As EventArgs)

       Session("myhtml") = Editor1.Value

    End Sub

  •  01-12-2007, 9:56 AM 25752 in reply to 25750

    Re: Editor Functions

    Editor.Text Property

    This property provides access to the text within the editable area of the CuteEditor control. It can be used to set the text when the control is first displayed and also to read out the text when a form has been submitted.

    Editor.XHTML Property

    Retrieves the CuteEditor HTML content in XHTML format.
     
    Please use the above two properties.
     

    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

View as RSS news feed in XML