Mar 25, 2011, 11:40 AM
[CLOSED]Fckeditor in Ext.Net controls - shows javascript error
Hi
In my application i am using Fckeditor in Ext.Net controls. In that page always showing one javascript error like
In normal application without using any ext.net controls it is working fine. While fckeditor merged with ext controls only it is showing this JavaScript error.
Aspx page:
For reproducing the sampe issue you can download my sample project here
http://www.4shared.com/file/cqUUTAFJ/SampleAppExt.html
Kindly give me your suggestions.
Thanks in advance
In my application i am using Fckeditor in Ext.Net controls. In that page always showing one javascript error like
FCKTools is undefined
Aspx page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script src="../../fckeditor/fckeditor.js" type="text/javascript"></script>
<script src="../../fckeditor/editor/_source/fckeditorapi.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function () {
var oFCKeditor = new FCKeditor('content');
oFCKeditor.BasePath = "/fckeditor/";
oFCKeditor.CustomConfigurationsPath = "/fckeditor/fckconfig.js";
oFCKeditor.ToolbarSet = "MyToolbar";
oFCKeditor.Height = 300;
oFCKeditor.Width = 830;
oFCKeditor.ReplaceTextarea();
}
</script>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<textarea id="content" cols="30" rows="10"></textarea>
</body>
</html>
For reproducing the sampe issue you can download my sample project here
http://www.4shared.com/file/cqUUTAFJ/SampleAppExt.html
Kindly give me your suggestions.
Thanks in advance
Last edited by vs.mukesh; Mar 28, 2011 at 2:05 PM.