#234: Microsoft Asp.net 2.0 AJAX UpdatePanel Bug
-------------------------------+--------------------------------------------
Reporter: Anksunamon | Owner: fredck
Type: Bug | Status: reopened
Priority: Normal | Milestone:
Component: Server : ASP.Net | Version: FCKeditor 2.6.3
Resolution: | Keywords: Confirmed HasPatch
-------------------------------+--------------------------------------------
Comment(by jskripsky):
Replying to [comment:63 serializer]:
> Replying to [comment:61 jskripsky]:
> > {{{
> > Type.GetType( "System.Web.UI.ScriptManager, System.Web.Extensions" )
> > }}}
>
> This line doesn't work (in my scenario at least).
You're right, Type.GetType() needs a full assembly name including version
and pubkey token to load from the GAC. I was using a heavily customized
version of Mono for the testing...
> Obviously this references a specific version and so wouldn't work with
Framework 2.0. I've seen a method a Rick Strahl's blog ([http://www.west-
wind.com/WebLog/posts/10246.aspx]) which called
AppDomain.CurrentDomain.GetAssemblies() then looped through to find
System.Web.Extensions. But this doesn't seem very optimal either, and I'm
pretty sure the GetAssemblies() call will fail in medium trust.
>
> So, I don't quite know what to do here. Perhaps we could just have two
calls to Type.GetType, and check for both possible versions of
System.Web.Extensions. As and when newer versions of AJAX are released,
this will need updating.
I did some research on possible options. Strahl's approach indeed seems to
be our best bet. According to [http://www.west-
wind.com/weblog/posts/9601.aspx] (search for "trust"), it should work with
medium trust as well.
--
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:64>
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