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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
fadil197777 reputationPosted Oct 28, 2004, 6:34 AM EDT
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!!!