id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
2268,ASP.NET integration: FCKeditor.IsDirty() can return incorrect results when UpdatePanels are used,Alexey Zuev,,"If partial page rendering is made via UpdatePanels, FCKeditor.IsDirty() of editors outside UpdatePanel that is rendered return [true]. No matter if they are dirty or not.
'''Steps to reproduce:'''
1. 'fckeditor/' folder contents is default.
2. aspx file content:
{{{
<%@ Page Language=""C#"" AutoEventWireup=""true"" CodeFile=""Default.aspx.cs"" Inherits=""_Default""
ValidateRequest=""false"" %>
<%@ Register Assembly=""FredCK.FCKeditorV2"" Namespace=""FredCK.FCKeditorV2"" TagPrefix=""FCKeditorV2"" %>
Test page
}}}
3. codebehind file content
{{{
using System;
using System.Web.UI;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
fckEditor1.Value = DateTime.Now.ToString();
fckEditor2.Value = DateTime.Now.ToString();
}
protected void updateButton1_Click(object sender, EventArgs e)
{
}
protected void updateButton2_Click(object sender, EventArgs e)
{
}
}
}}}
3. Page loads first. Set focus to first editor - 'fckEditor1.IsDirty() = false' alert as a result. Set focus to second editor - 'fckEditor2.IsDirty() = false' alert as a result. As expected
4. Click 'Update1' button - updatePanel1 is updated
5. Set focus to second editor - 'fckEditor2.IsDirty() = true' alert as a result. Instead of expected 'fckEditor2.IsDirty() = false'.
FCKEditor Version: 2.6, Night build
.NET integration assembly: 2.5.2912.21007
Browsers: FF 2.0.0.14, IE 7.0.5730.11
",Bug,closed,Normal,,Server : ASP.Net,SVN (FCKeditor) - Retired,wontfix,,