Editor Functions

  •  01-12-2007, 7:10 AM

    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

View Complete Thread