?
Solved

printing document in asp.net

Posted on 2006-11-16
4
Medium Priority
?
1,188 Views
Last Modified: 2009-02-11
hi experts,
   I have completed my asp.net web application using vb.net which prints a document at the client side.  It's working fine, but the problem whenver i give the print command by default it prints the header ie the name of my asp.net form & footer, the whole querystring that appears in the address bar.  I don't want these things, How to avoid this?


plz help
 
0
Comment
Question by:s_monani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Accepted Solution

by:
bigphuckinglizard earned 1000 total points
ID: 17964087
file menu -> page setup, remove the options in header and footer.
0
 
LVL 6

Assisted Solution

by:Samer Chidiac
Samer Chidiac earned 1000 total points
ID: 17967202
This would work,

But Keep in mind that this will work on all the webpages that the user is browesing.. and it's a USER specific ... because there's no client script (that i know about of course) that would dynamically disable the display of header and footers..

but if your application is imporant and is Sql Server Database driven.. you should consider incorporating a reporting tool.. such as Sql Server Reporting services or other nice reporting tools/controls that would allow the prinitng to be more smooth and you can even export your documents to excel, html, pdf.. etc


That's my opinion,

Cheers,
SC

===================
Samer Chidiac
Microsoft MVP - ASP/ASP.net
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

801 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