Hi,
I have searched the forum, stackoverflow, google etc and can't find the answer so hopefully someone here can help.
I'm upgrading our admin panel to use CKEditor ASP.net version and so far it has been pretty straight forward. The issue I am having is when doing an update. I load in my page and I have two options, either update or delete the article. If I click update on the page, then I use an EditItemTemplate and I have my control. However, although the content appears in my textbox from the database the CKEditor menu bar doesn't load.
<EditItemTemplate> <table width="100%"> <tr> <td width="18%" valign="top" style="height: 35px"> <h2>Headline:</h2></td> <td width="82%" valign="top" style="height: 35px"><asp:TextBox ID="newsHeaderTextBox" Width="100%" runat="server" Text='<%# Bind("newsHeader") %>'></asp:TextBox></td> </tr> <tr> <td valign="top" style="height: 60px"><h2>Summary:</h2></td> <td valign="top" style="height: 60px"><asp:TextBox ID="newsSummaryTextBox" Height="50px" Width="100%" TextMode="MultiLine" runat="server" Text='<%# Bind("newsSummary") %>'></asp:TextBox></td> </tr> <tr> <td valign="top"><h2>Body:</h2></td> </tr> </table> <CKEditor:CKEditorControl ID="CKEditor1" runat="server" Text='<%# Bind("newsBody") %>' ClientIDMode="Static"></CKEditor:CKEditorControl>
I just get a textbox.
I guess I am missing something, I have the assembly within my web.config file and as I say, I have CKEditor working on the submit page, it's just the update page I can't get it to work on.
Thanks
Fixed the problem - I had
Fixed the problem - I had forgotten to tell the control where to find all the .js files etc. I added BasePath="path_to/folder/" and it now works.