Monday, January 18, 2010

Is there any Control for printing in ASP.NET?

Is there any control in .NET Frame work or AjaxIs there any Control for printing in ASP.NET?
No there isnt,


You can use :


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


%26lt;input type=';button'; value=';Print this page'; onclick=';printpage()'; /%26gt;





%26lt;script type=';text/javascript';%26gt;


function printpage()


{


window.print();


}


%26lt;/script%26gt;


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


in your ASP File

No comments:

Post a Comment