﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2591	Strange behaviour	mni82		"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."	Bug	closed	Normal		General	FCKeditor 2.6.3 Beta	invalid		
