Re: Printing innerHTML of CuteEditor using HTML button

  •  10-07-2005, 9:25 AM

    Re: Printing innerHTML of CuteEditor using HTML button

    hi Adam,
     
      I got here another problem with Print functionality.
     
     I am using the following code, 
     
      var editor=document.getElementById('<%=cuteEditorLetter.ClientID%>'); 
      editor.GetDocument().body.innerText =  "myText" ; 
      editor.ExecCommand('Print');
     
      here I am assigning 'myText' to the cute editor and I am printing it in the same function just after assiging it. It is my requiremnent that I am assigning and printing in the same function. But it is not working. May be as editor does not have the assigned content for printing.
     
     Please help me regarding this. or can we print Cute Editors contect from code behind.
     
    Sujay
View Complete Thread