asp.net using ajax problem with toolbars
pinEdit
asp.net using ajax problem with toolbars
tasos
10-15-2009, 8:05
Hello i currently use the classic.asp version of the editor and i have installed the evaluation version of
asp.net in order to create an editor with the same functionality as
my classic.asp one.
I have created a div element.Then via ajax i'm doing
var xhr = new createXMLHttp();
var URL="../testa/Default.aspx";
xhr.open("GET",URL,false);
xhr.send("");
$("ela").innerHTML=xhr.responseText;
Default.aspx is a simple aspx page in which i have inserted the editor.
This doesn't work.It seems like the toolbars are not created.
Instead if i create an iframe and set the url to
../testa/Default.aspx it will work correctly.
Some more information.
The id that i have given is new_mail_editor
The problem is that __editToolbarXMLString is null
i have seen that its value is taken from editOnToolbar_new_mail_editor()
But this doesn't exist.
The same aspx when loaded inside the iframe is working fine...
So the problem is that the toolbars are not loaded.
ps:the post consists of two different emails that i have sent to support,that's why it may sound a little bit strange.