Posted on: 5/15/2014 2:01:58 AM | Views : 225

Guy, I need help converting javascript code into C#  here is my code
//-- Print Content of a page function tablePrint(pgTitle) {
    var display_setting = "toolbar=yes,location=no,directories=yes,menubar=yes,";
    display_setting += "scrollbars=yes,width=900, height=700, left=100, top=25";
    var content_innerhtml = document.getElementById("print_area").innerHTML;  
   var document_print = window.open("", "", display_setting);
    document_print.document.open();
    document_print.document.write('<html><head><title>'+pgTitle+'</title></head>');
    document_print.document.write('<body style="font-family:verdana; font-size:10px;" onLoad="self.print();self.close();" >');
  &nb ...

Go to the complete details ...