#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      
-------------------------------+--------------------------------------------
Changes (by fredck):

 * cc: serializer (added)
  * owner:  => fredck
  * status:  new => assigned


Comment:

 @serializer, the work you've done is pretty cool. The tests definitely
 helped a lot.

 Before working on more aggressive strategies over the FCKeditor.Net code,
 I'm analyzing the ASP.Net AJAX code to have a better understanding of it.
 I found out that, after detecting that the MS AJAX code is present on the
 page, we could do something like this:

 {{{
 Sys.WebForms.PageRequestManager.getInstance()._onSubmitStatements.push(
 function()
         {
                 FCKeditorAPI.GetInstance( 'FCK' ).UpdateLinkedField();
                 return true;
         } );
 }}}

 Of course 'FCK' must be replaced with the instance name and so forth...
 but if you add the above script at the bottom of your Test2.aspx page, you
 will see that everything will just work. Then, we'll still have those
 JavaScript errors, but that is the easiest part of it.

 Do you think the above is a trustable solution for it? I can propose a fix
 to be included into the FCKeditor core code that would use the above code
 instead of the normal submit handling in such cases.

 Does that make sense?

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/234#comment:34>
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