#234: Microsoft Asp.net 2.0 AJAX UpdatePanel Bug
-------------------------------+--------------------------------------------
  Reporter:  Anksunamon        |       Owner:                 
      Type:  Bug               |      Status:  new            
  Priority:  Normal            |   Milestone:  FCKeditor 2.6.3
 Component:  Server : ASP.Net  |     Version:  FCKeditor 2.4  
Resolution:                    |    Keywords:  Confirmed      
-------------------------------+--------------------------------------------

Comment(by serializer):

 Finally, I have the editor working perfectly inside an UpdatePanel!

 I had to add a configuration option in fckconfig.js, which prevents the
 submit handler from being attached altogether. In FCKeditorAjax I test
 ScriptManager.SupportsPartialRendering and if true I set the option.
 Finally, I use ASP.NET's hooks to wire up my own submit event, as
 previously described.

 I think this is the best solution since FCK's juggling of the submit event
 just seems to conflict with the AJAX framework and its own event handling.
 I think a "DisableSubmit" option is a good remedy for any situation like
 this. It's very easy to add our own submit event to call
 UpdateLinkedField, but it's very difficult to detach FCK's submit once
 it's been attached.

 Unfortunately this won't fix #1255 which is itself caused by the dodgy
 event wiring I am now bypassing!

 Can I get some feedback as to the best name for this setting? Something
 more descriptive like "PreventAttachSubmitEvent" or possibly instead have
 an "AttachSubmitHandler" option set to true by default?

 I'll upload my current patch later today, I promise this time!

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:31>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to