Objectmix
Tags Register Mark Forums Read

FCKEditor not working in contentplaceholder : DOTNET

This is a discussion on FCKEditor not working in contentplaceholder within the DOTNET forums in Framework and Interface Programming category; I'm having trouble getting FCKEditor to work in a contentplaceholder. The code works fine on a single page, but fails in a master/details configuration. Specifically, FCKEditor won't render when embedded in a contentplaceholder. I tested it both on IE 7.0 and FF 2.0.0.11 with ASP.NET 2.0 and 3.0 using FCKEditor version 2.5 and also .NET version 2.2. FCKEditor actually requires a dll (FredCK.FCKeditorV2.dll) in the bin directory. Are there any special registrations steps required when binding an assembly control into a details page? All samples I looked up are implemented on a single page. TIA for any hints. Sample (works): ...


Object Mix > Framework and Interface Programming > DOTNET > FCKEditor not working in contentplaceholder

DOTNET Discussion forums related to Microsoft Dot net technologies, CSharp and other related items

Reply

 

LinkBack Thread Tools
  #1  
Old 12-02-2007, 03:31 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default FCKEditor not working in contentplaceholder

I'm having trouble getting FCKEditor to work in a contentplaceholder.
The code works fine on a single page, but fails in a master/details
configuration. Specifically, FCKEditor won't render when embedded in a
contentplaceholder. I tested it both on IE 7.0 and FF 2.0.0.11 with
ASP.NET 2.0 and 3.0 using FCKEditor version 2.5 and also .NET version
2.2.

FCKEditor actually requires a dll (FredCK.FCKeditorV2.dll) in the bin
directory. Are there any special registrations steps required when
binding an assembly control into a details page? All samples I looked
up are implemented on a single page. TIA for any hints.

Sample (works):
<%@ Page Language="VB" ValidateRequest="false"
AutoEventWireup="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>
....
<form id="form1" runat="server">
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<br />
<input id="Submit1" type="submit" value="Submit" runat="server" /
>

</form>

Sample (fails ie. FCKEditor not rendered):
<%@ Page Language="VB" MasterPageFile="~/Site.master"
ValidateRequest="false" AutoEventWireup="false" Title="Untitled Page"
%>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>

<asp:Content ID="Content2" ContentPlaceHolderID="CPM1" Runat="Server">
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<br />
<input id="Submit1" type="submit" value="Submit" runat="server" />
</asp:Content>
Reply With Quote
Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
ContentPlaceHolder Resizing with Dynamic TreeView usenet DOTNET 1 11-04-2007 07:53 PM
ContentPlaceHolder Problem usenet DOTNET 2 09-07-2007 05:36 PM
PMWiki with FCKEditor usenet PHP 1 08-30-2007 10:44 AM
Writing directly to ContentPlaceHolder usenet DOTNET 4 07-19-2007 02:12 PM
FCKEditor event handling usenet Javascript 0 07-19-2007 02:36 AM


All times are GMT -5. The time now is 05:26 PM.