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>
    </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???
  •  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" %>
     
     

    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