#2591: Strange behaviour
---------------------+------------------------------------------------------
Reporter: Mni82 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: FCKeditor 2.6.3 Beta
Keywords: |
---------------------+------------------------------------------------------
Hi there,
In my sample code i have a formview with a sqldatasource.
I added the FCKeditor in the <EditItemTemplate>
I have 2 linkbuttons whitch i use to switch between edit- and itemTemplate
mode. I load the page in itemTeplate mode. When i go to editTemplate mode
the FCKeditor is loaded and the data is displayed. No problem at all, but
when i change back to editTemplate mode an error appears.
So switch to editTemplate and back with the linkbuttons to reproduce the
problem.
I added 2 sqldatasources and 2 formViews to test what is going on.
Results:
- sdsTest works;
- sdsTest1 does not work; (cannot switch back to itemTemplate)
The difference between the sql datasources is that sdsTest1 data contains
a <p> and </p> tag in de loaded data. Same problem with other tags.
I receive the common error:
'Runtime-fout Microsoft JScript:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error
occurred while processing the request on the server. The status code
returned from the server was: 500'
The bold line will create the error:
{{{
Sys.Net.XMLHttpExecutor = function Sys$Net$XMLHttpExecutor() {
...
try {
'''_this._webRequest.completed(Sys.EventArgs.Empty);'''
}
finally {
if (_this._xmlHttpRequest != null) {
_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
_this._xmlHttpRequest = null;
}
}
}}}
Can anyone tell me how to avoid this?
Thanks in advance.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2591>
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