I have the following JavaScript code at the end of the .aspx file . (This I had to do because of DisableAutoFormatting bug with CodeBehind). This is my JavaScript that fires after >>if (!IsPostBack)<< is complete..
PROBLEM IS... AFTER THIS PORTION OF JAVASCRIPT IS EXECUTED (WHICH I HAVE CHECKED USING ALERT) and CUTEEDITOR IS SUCCESSFULLY LOADED, LATER ON (DON'T KNOW WHERE) .. THE CUTE EDITOR CONTENT IS WIPED OUT. WHAT I AM MISSING ?
var myObjectCE = document.getElementById('CE_ceHTMLDescription_ID');
if (myObjectCE != null)
{
var myObjectTXT = document.getElementById('txtHTMLDescription');
if (myObjectTXT != null)
{
var editdoc = myObjectCE.GetDocument();
if (editdoc.body)
editdoc.body.innerHTML = myObjectTXT.value;
}
}