Fckeditor in Ext.Net controls - shows javascript error

  1. #1

    [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
    FCKTools is undefined
    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:

    <!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
    Attached Thumbnails Click image for larger version. 

Name:	fckjserror.JPG 
Views:	130 
Size:	75.2 KB 
ID:	2492  
    Last edited by vs.mukesh; Mar 28, 2011 at 2:05 PM.
  2. #2
    Hello guys

    Is any other updates?. now i am in the position to fix this high priority issue. Please give me your suggestion as soon as possible. It will be more help full to me.

    Thanks in advance.
  3. #3
    Quote Originally Posted by vs.mukesh View Post
    Hello guys

    Is any other updates?. now i am in the position to fix this high priority issue. Please give me your suggestion as soon as possible. It will be more help full to me.

    Thanks in advance.
    Hi

    I fixed the issue by following this post
    http://forums.ext.net/showthread.php...r-with-Coolite

    Please mark it as solved

    Regards

    Mukesh Selvaraj
  4. #4
    Thanks for the update.

Similar Threads

  1. Replies: 3
    Last Post: Jul 20, 2012, 4:50 PM
  2. [CLOSED] Dynamic grid creation shows error
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 22, 2011, 9:35 AM
  3. Replies: 2
    Last Post: May 10, 2011, 6:32 PM
  4. Formpanel.submit() shows javascript error
    By vs.mukesh in forum 1.x Help
    Replies: 0
    Last Post: Jul 10, 2010, 1:16 PM
  5. ext:Store shows error message "Object expected"
    By stephan1985 in forum 1.x Help
    Replies: 0
    Last Post: Jan 09, 2010, 8:38 AM

Posting Permissions