Printing Web Application
May be somebody knows how to pring text from Web Application using C#.
For example Invoice or Order List or just text.
Cheers
Bob2
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
fadil1977Posted Oct 28, 2004, 10:34 AM
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here Me.Button2.Attributes.Add("onclick", "window.print();" End SubNote that:- 1) Button2 is the id of your application's button 2) Do not right the code in the click event, it should be in page_load Any other problem, just get back to me...hope that helps!!!