• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

Printing from a web application with VS 2010

I am trying to determine the best way to print reports from a web application when using VS 2010.  
These will be form letters that will be sent by mail to customers as decisions are made about access to their account.
My boss prefers I do not use a third-party reporting tool if I can avoid it.  We have just upgraded to VS 2010 and noticed a Printing category in the toolbox, but all the options below it are greyed out.

Is that because my project is a web application or is there some other reason?

What is the best approach for what we want to accomplish?
(Ideally, we would also like the user to be able to optionally preview a report before sending it to the user's default printer.)

Thanks in advance!

0
codefinger
Asked:
codefinger
  • 2
  • 2
  • 2
1 Solution
 
Shaun KlineLead Software EngineerCommented:
If you are using SQL Server, you could use SQL Server Reporting Services. According to this posting (http://blogs.msdn.com/b/vbteam/archive/2010/04/08/crystal-reports-for-visual-studio-2010.aspx) you also have the option of using Crystal Reports.
0
 
CodeCruiserCommented:
Is the printing going to be done on server or on the client?
0
 
codefingerAuthor Commented:
Good question CodeCruiser.

All I know for sure is the output will have to be on the user's default printer, so probably not from the server.

Can you please describe the best approach in both situations?

Thanks!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Shaun KlineLead Software EngineerCommented:
If you need any type of control of page breaks or how the page will look when printed, using HTML to generate the page will be extremely difficult as the printed page is dependent on the user's printer setup.
0
 
codefingerAuthor Commented:
Fortunately, one page letter, so CodeCruiser's suggestion hit the mark.

Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now