Opened 11 years ago

Closed 11 years ago

#1672 closed Bug (duplicate)

Problem with FCKEditor and ASP.net AJAX

Reported by: Brett Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version: FCKeditor 2.5
Keywords: Cc:

Description

Hey...

LOVE LOVE LOVE your editor. You guys do a great job. Thoroughly pleased, especially considering I just found out you are being included with the newest release of Coldfusion.

Anyways I wanted to report a bug to you guys. I've been about pulling my hair out trying to figure this out, and I think I found the issue. So here it goes:

I using a MAC. On Firefox. Using asp.net 2.0. FCK Editor Version 2.5 (.Net) with the most recent version of the actual editor.

The issue I found is that the FCK Editor doesn't actually submit any data if it's included within and asp.net ajax update panel. I've tested this thoroughly and found this was the issue. The editor actually displays and works within the update panel, but when you perform a button click action to submit the data, it just displays as an empty value even though data is entered into the editor. I'm not quite sure why it'd be doing this, my only guess is the javascript is conflicting with the ajax somehow.

Just thought I'd mention that as I'm sure other people may encounter the same issue.

Thanks and have a great Christmas. Brett

Change History (3)

comment:1 Changed 11 years ago by Pete Hurst

Not a new issue, it's been documented elsewhere, although no satisfactory solution seems to have been provided.

Mentioned here: http://dev.fckeditor.net/ticket/1079 And here: http://dev.fckeditor.net/ticket/234

Possible workaround here: http://jlcoady.net/archive/2007/03/30/fckeditor-work-inside-updatepanel

I don't really see the workaround as being a very nice solution, and I haven't even verified whether it works with current version of Ajax.

I'm actually experimenting with inheriting from FCKeditor class and implementing IScriptControl, to embed client-side functionality which could update the FCK prior to postback. Unfortunately I'm having a little trouble capturing the postback event at an early enough stage; all the events I've tried so far fire *after* the form data has been compiled ready for the POST, and so the value is still not correctly retrieved. Any help with this would be appreciated!

I'm building this as a separate project, to avoid breaking existing code, since it requires a reference to the Ajax libraries. It could perhaps be integrated within the project as a VS2008 version of the project file, since it can be assumed anyone working in VS2008 would have Ajax available? Either way, I can provide the source if anyone is interested.

comment:2 Changed 11 years ago by Frederico Caldeira Knabben

Keywords: .Net AJAX conflicts with FCKeditor removed
Milestone: FCKeditor.Net 2.5

comment:3 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: newclosed

DUP of #234

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy