Support forums

Visual Studio problems - Referencing editor?

Last post 11-13-2006, 9:02 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-13-2006, 8:06 AM 24275

    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>


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


    Catch ex As Exception
       ErrorMessage.Text = ex.Message
       ErrorMessage.Visible =
    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???
  •  11-13-2006, 9:02 PM 24299 in reply to 24275

    Re: Visual Studio problems - Referencing editor?

    Did you copy CuteEditor.dll to your project bin folder?
    Have you added reference to CuteEditor.dll in the top of your page?
    For example:

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    Web Messenger: wysiwyg editor:
    asp wysiwyg html editor: Image Gallery:
    Live Support:

View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems