Solved

how add print button in the toolbar of a pop up window which uses XML template to display the contents in ASP.NET page?

Posted on 2011-02-16
3
267 Views
Last Modified: 2012-05-11
I have a pop up modal window which uses XML template to display the contents. How do I add print button to the toolbar of this pop up window?
0
Comment
Question by:AppDevs
  • 2
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34907711
Do you mean its an IE popup without the menubar and titlebar?
0
 

Author Comment

by:AppDevs
ID: 34907934
yes
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34908114
Show the code which opens the popup. You can either show the full IE instead of popup or add a button like this
<input type="button" value="Print" onclick="window.print();">


http://www.beansoftware.com/ASP.NET-Tutorials/Printing-Reporting.aspx
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question