Very confused

Last post 10-21-2005, 8:42 PM by dream2004. 1 replies.
Sort Posts: Previous Next
  •  10-21-2005, 8:20 PM 11930

    Very confused

    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; 
         }
      }
  •  10-21-2005, 8:42 PM 11931 in reply to 11930

    Re: Very confused

    YOU MAY IGNORE THIS POST SINCE I SEE THAT VERSION 5.0 SEEMS LIKE HAVE FIXED THE DISABLEAUTOFORMAT for CODEBEHIND ...  I AM DOING SOME MORE TESTING TO BE SURE >>>>>
     
    THANKS
    PAUL
View as RSS news feed in XML