#234: Microsoft Asp.net 2.0 AJAX UpdatePanel Bug
-------------------------------+--------------------------------------------
Reporter: Anksunamon | Owner: fredck
Type: Bug | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6.3
Component: Server : ASP.Net | Version: FCKeditor 2.4
Resolution: | Keywords: Confirmed HasPatch
-------------------------------+--------------------------------------------
Comment(by serializer):
@FredCK: Sorry for causing delay here.
Basically, I still prefer my original method - because it fits in neatly
with the AJAX interface, rather than having to use Reflection which is
less maintainable and less obvious what is going on.
However yours is more straightforward in that it does not require a
separate build to support backwards compatibility, and it does not produce
the additional .js include that I did.
Really, both approaches are doing exactly the same thing; I just moved my
client script into a separate resource rather than directly writing code
in the RegisterOnSubmitStatement call. To this end your version outputs
slightly more code on each page than mine did, at the tradeoff of one less
include, which was pretty small anyway.
Really the pros/cons of the two approaches aren't big enough in either
case to be worth worrying about. I definitely prefer this method to your
first patch, so I think we have a consensus that 234_2_FCKeditor.patch and
234_2_FCKeditor_Net.patch are the way to go.
Just one minor suggestion: instead of overriding the OnLoad method, how
about moving that code into OnPreRender? The main reason is if the control
has Visible=false, then it won't exist on the page, and so the submit
statement won't be needed. OnPreRender only gets called if the control is
actually getting rendered.
--
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:47>
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