0
Answer

I am needed to print an aspx page with control values

goutamendu hait

goutamendu hait

12y
1.1k
1
i am needed to print  an aspx page with control values like: when an user inputs all the values in aspx page and  is printing the page ,  all the contents of the page gets printed but without those control values(like: textbox,checkbox, dropdown that an user selcts etc.) . ryt now i am using javascript function for printing the page.
my printing code is:
var


printContent = document.getElementById('<%=pblFormw8.ClientID %>');

 
var windowUrl = 'about:blank';

 
var uniqueName = new Date();

 
var windowName = 'Print' + uniqueName.getTime();

 
var printWindow = window.open(windowUrl, windowName, 'left=50000,top=50000,width=0,height=0');


  printWindow.document.write(printContent.innerHTML);

  printWindow.document.close();

  printWindow.focus();

  printWindow.print();

  printWindow.close();


PLZ HELP!!!!!!!!!!!!!!!!