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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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