#234: Microsoft Asp.net 2.0 AJAX UpdatePanel Bug
-------------------------------+--------------------------------------------
Reporter: Anksunamon | Owner: fredck
Type: Bug | Status: closed
Priority: Normal | Milestone: FCKeditor 2.6.3
Component: Server : ASP.Net | Version: FCKeditor 2.4
Resolution: fixed | Keywords: Confirmed Review+
-------------------------------+--------------------------------------------
Changes (by jskripsky):
* cc: [EMAIL PROTECTED] (added)
Comment:
The code in PreRender() is much slower than it needs to be. There are two
areas that can be improved:
== Finding the page's ScriptManager ==
Use the static method [http://msdn.microsoft.com/en-
us/library/system.web.ui.scriptmanager.getcurrent.aspx
ScriptManager.GetCurrent(Page p)] instead of recursively going through the
page's control tree. Using ScriptManager.GetCurrent works for both "plain"
System.Web.Extensions and AjaxControlToolkit (using ToolkitScriptManager).
== Use of Reflection ==
Do the Type.GetMethod()/Type.GetProperty() calls only once. Do it at class
initialization time and save the resulting MethodInfo/PropertyInfo for
later use.
''I'll attach a patch implementing both ideas.''
--
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:59>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac