Visual Studio problems - Referencing editor?

  •  11-13-2006, 8:06 AM

    Visual Studio problems - Referencing editor?

    I am experiencing problems referencing the editor in our aspx pages.
     
    Below is an instance of the code used to insert the editor in a page

    <CE:Editor Id="ContentTextBox" runat="server" Height="300px" Width="700px" ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/clearchannel.config" BackColor="#D4EAFF" BorderColor="#666666" CustomCulture="en" ThemeType="Office2003_BlueTheme" EditorWysiwygModeCss="~/css/editsuite_editor.css" >
    <framestyle backcolor="White" bordercolor="#DDDDDD" borderstyle="Solid" borderwidth="1px" cssclass="CuteEditorFrame" height="100%" width="100%"></framestyle>
    </CE:Editor>

    Try

    doInsert.insertContent(LanguageDropDown.SelectedValue, TitleTextBox.Text, DescriptionTextBox.Text, ContentTextBox.Text, SortOrderDropDown.SelectedValue, Application("logContent"))

    Response.Redirect("default.aspx")

    Catch ex As Exception
       ErrorMessage.Text = ex.Message
       ErrorMessage.Visible =
    True
    End Try

    The code here is the doInsert call which is throwing up an error that ContentTextBox is not declared, when as you can see above it definately is. Now this error is thrown everytime I try and reference the editor field. Am I referencing the field the wrong way???
View Complete Thread