I have a page that references the fckeditor. (I've created a web using the beerhouse project model if you're familiar with that.)
Any page in the web project that brings up a text editor box that uses the editor gives the error. I unzipped the fckeditor package in the root of my web and also unzipped the .NET package there as well. I have it referenced in the pages that are supposed to use it.
Re: Please help: toolbar set doesn't exist error
Re: Please help: toolbar set doesn't exist error
Any page in the web project that brings up a text editor box that uses the editor gives the error. I unzipped the fckeditor package in the root of my web and also unzipped the .NET package there as well. I have it referenced in the pages that are supposed to use it.
Is there any other info you were asking for?
Rae
Re: Please help: toolbar set doesn't exist error
Or do you expect it to be generated automagically?
Re: Please help: toolbar set doesn't exist error
I think all the code to use the fckeditor is in the project. How do you "create" to the toolbarset?
I have it referenced so:
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
and then later in body:
==========================
<asp:Panel runat="server" ID="panSend">
....
<p></p>
<small><b><asp:Literal runat="server" ID="lblTitle" Text="Subject:" /></b></small><br />
<asp:TextBox ID="txtSubject" runat="server" Width="99%" MaxLength="256"></asp:TextBox>
<asp:RequiredFieldValidator ID="valRequireSubject" runat="server" ControlToValidate="txtSubject" SetFocusOnError="true"
Text="The Subject field is required." ToolTip="The Subject field is required." Display="Dynamic" ValidationGroup="Newsletter"></asp:RequiredFieldValidator>
<p></p>
<small><b><asp:Literal runat="server" ID="lblPlainTextBody" Text="Plain-text Body:" /></b></small><br />
<asp:TextBox ID="txtPlainTextBody" runat="server" Width="99%" TextMode="MultiLine" Rows="14"></asp:TextBox>
<asp:RequiredFieldValidator ID="valRequirePlainTextBody" runat="server" ControlToValidate="txtPlainTextBody" SetFocusOnError="true"
Text="The plain-text body is required." ToolTip="The plain-text body is required." Display="Dynamic" ValidationGroup="Newsletter"></asp:RequiredFieldValidator>
<p></p>
<small><b><asp:Literal runat="server" ID="lblHtmlBody" Text="HTML Body:" /></b></small><br />
<fckeditorv2:fckeditor id="txtHtmlBody" runat="server"
ToolbarSet="MyWebSite" Height="400px" Width="99%" />
<p></p>
<asp:Button ID="btnSend" runat="server" Text="Send" ValidationGroup="Newsletter"
OnClientClick="if (confirm('Are you sure you want to send the newsletter?') == false) return false;" OnClick="btnSend_Click" />
</asp:Panel>
=========
I added the dll to my bin and referenced it to the project. I also added that control to my toolbox.
Rachel