﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1364	ASP.NET control TextChanged event	marcus_l@…		"{{{
#!patch
Index: FCKeditor.cs
===================================================================
--- FCKeditor.cs (revision 118)
+++ FCKeditor.cs (working copy)
@@ -390,7 +390,7 @@

#region Postback Handling

- public bool LoadPostData(string postDataKey,
System.Collections.Specialized.NameValueCollection postCollection)
+ public virtual bool LoadPostData(string postDataKey,
System.Collections.Specialized.NameValueCollection postCollection)
{
if ( postCollection[postDataKey] != this.Value )
{
@@ -400,11 +400,22 @@
return false ;
}

- public void RaisePostDataChangedEvent()
+ public virtual void RaisePostDataChangedEvent()
{
- // Do nothing
+ OnTextChanged(EventArgs.Empty);
}

#endregion
- }
+
+ #region Event Handlers
+
+ public event EventHandler TextChanged;
+
+ protected void OnTextChanged(EventArgs e)
+ {
+ if (TextChanged != null) TextChanged(this, e);
+ }
+
+ #endregion
+ }
}
}}}
----
Moved from [http://sourceforge.net/tracker/index.php?func=detail&aid=1613538&group_id=75348&atid=543655 sourceforge][[BR]]
Original author: Marcus L"	New Feature	closed	Normal		Server : ASP.Net	FCKeditor 2.5	expired	SF HasPatch	silverfox1948@… J prashantsabhnani@…
