Re: Problem with Printing innerHTML

  •  10-10-2005, 8:37 AM

    Re: Problem with Printing innerHTML

    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