Friday, September 27, 2013

how to change printout format i.e xps format into other format....see code


function CallPrint(strid) {
var prtContent = document.getElementById(strid);
var WinPrint = window.open('', '', 'letf=0,top=0,width=400,height=400,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
}

tbl.OnClientClick="CallPrint('"+tbl.UniqueID+"')"




hey guys i am using this code to generate printout but format is xps......how to change format through code. see code and suggest modification in above code





thanks and regard love4csharp


No comments:

Post a Comment