cuteEditor.Text property is empty in IE9

  •  05-24-2013, 9:39 AM

    cuteEditor.Text property is empty in IE9

    Hi,

     

    I'm having difficulties while running web application using CuteEditor on VS  ASP.NET DevelopmentServer (Windows 7) and on IIS7 (Windows Server 2008 R2)

     

    When opening page in IE9 content of CuteEditor is empty.

     

    Here is code fragment of my testpage:

     

    <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
        CodeBehind="Default.aspx.cs" Inherits="CuteEditorTest._Default" %>
     
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    
    <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    </asp:Content>
    <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
        <div>
            <CE:Editor ID="cuteEditor" EditorWysiwygModeCss="/App_Themes/default/CuteEditor.css"
                FilesPath="/CuteSoft_Client/CuteEditor" runat="server" ConfigurationPath="/CuteSoft_Client/CuteEditor/Message.config"
                Width="668" Height="180" MaxHTMLLength="3000">
            </CE:Editor>
            <br />
            <asp:Button runat="server" ID="btnCopy" Text="Move content to label" OnClick="btnCopyOnClick" />
            <br />
            <asp:Literal runat="server" ID="litCuteEditorContent" Text="default text"></asp:Literal>
        </div>
    
    </asp:Content>
     
    namespace CuteEditorTest
    {
    	public partial class _Default : System.Web.UI.Page
    	{
    		protected void Page_Load(object sender, EventArgs e)
    		{
     
    		}
    		protected void btnCopyOnClick(object sender, EventArgs e)
    		{
    			litCuteEditorContent.Text = cuteEditor.Text;
    		}
    	}
    }
    
     
     
    When I open page in IE9 cuteEditor.Text is Empty.

    In all other browsers page is working as expected.

     

    Any idea what would possibly be wrong?

    Any other way to get content of editor which will work on all browsers?

     

    Regards,

    Dekos

View Complete Thread