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
268 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 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