#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+
-------------------------------+--------------------------------------------
Comment(by jskripsky):
Replying to [comment:60 kipusoep]:
> FCK has to be backwards compatible with .NET 2.0
> Correct me if I'm wrong, but GetCurrent() isn't backwards compatible. I
think that's the reason for choosing Reflection too...
My code uses GetCurrent() only via reflection. On .NET 2.0
{{{
Type.GetType( "System.Web.UI.ScriptManager, System.Web.Extensions" )
}}}
will return null. As a result "getCurrentScriptManagerMethod" will be
null. Hence we'll exit early in PreRender:
{{{
if ( !_IsCompatible || getCurrentScriptManagerMethod == null )
return;
}}}
No harm done.
On the other hand, when "System.Web.UI.ScriptManager,
System.Web.Extensions" is known, all the MethodInfo/PropertyInfo will be
!= null and invoked.
--
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:61>
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