We ran into a situation that we need get/set the whole html from radeditor, but GetHtml()/SetHtml() only get/set the content whithin <body> tag.
what happens is:
on server side, we use
on client side, we need to get the html, do some process and set it back. But GetHtml() only get the content whithin <body>, and SetHtml does the same.
On server side, we can do that with html property. But how can I update the whole html from client side?
Thanks
what happens is:
on server side, we use
radeditor.html = "<
html
><
header
>...</
header
><
body
>...</
body
></
html
>"
on client side, we need to get the html, do some process and set it back. But GetHtml() only get the content whithin <body>, and SetHtml does the same.
var e1 = <%=radEditor.ClientID%>;
var h1 = e1.GetHtml();
process h1...
e1.SetHtml(h1);
On server side, we can do that with html property. But how can I update the whole html from client side?
Thanks