How to Print Reports from Silverlight
Print View | Html View
Written by: famous16
Total views: 129 |
Word Count: 617 |
Date: Fri, 18 Dec 2009 |
0 comments
This question is frequently found in forums, conference and in blogs. It seems like this is one issue which must be answered directly.
A frequent question being asked in the forums of Microsoft Silverlight is how one can print out reports with this application. Before this is answered, we must first determine what Silverlight is.
Microsoft Silverlight is one programmable plug-in found in web browsers which allow media to be played through the internet. The plug-in enables users to listen to audio as well as watch the animations and videos which are found in rich internet applications. To simplify this definition, it is the company’s competing application to Adobe Flash Player.
Since Silverlight 2 is not capable of any APIs which are printer specific, it is your responsibility as a developer to determine how you can handle printing. If you will make use of Internet Explorer 7’s print button, you will only get a simple portrayal of the page. If you try printing from Safari or Mozilla Firefox, you will receive nothing but just a plain blank page.
In several business applications, printing is one important requirement. This is why the issue must be addressed if you are planning to build an application through Silverlight 2. Because of this, there are some ways printing from this plug-in can be done through the use of HTML Bridge.
Generally, if you are printing in either Silverlight or any web application, there are two key options for the user. One is printing through a server side, the other is printing through the client side.
A common answer for printing business reports is to open the pop-up window which holds a server generated report which is ready for printing. Depending on your preference, the report is capable of being printed in any format such as an XPS or PDF document, plain HTML document or even a Word document. If server side options of reports are implemented, users are not given a limit to what is available from the browser. As such, any technology can be used.
If the user wants to produce an HTML file, he can use the plain ASP.NET. He can also make use of the more advanced printing solutions like the SQL Reporting Services in order to produce PDF documents. The negative thing about using server side report printing however is because the user needs to click separate print buttons from the application in order to open the report. If this is neglected and the print button is clicked, the available HTML code in the browser will be the one which is printed.
Meanwhile, the meaning of being able to print through the client side is that built-in functionalities of a browser are used in order to produce the printing of the report. This is usually the preferred option in printing content centered websites such as newspapers and blogs. This is because the whole HTML is readily available in the web browser.
Since there is a high chance that you would not want to have large headers or navigation elements to be included in the printed, you will need to use a separate CSS style sheet. Making use of this will let the developer modify the look of a page when it is printed. The CSS can be used in order to hide the large graphics, navigation elements and other aspects of a page which you do not want to be included in the printout. This does not add anything to the paper but will only let you waste ink as well as paper space.
About the Author
Here you will learn more about Print Reports From Silverlight and Silverlight
Source: How to Print Reports from Silverlight
http://www.financebusinessarticles.com
More articles in this Category
1 : Six Basic Principles for Choosing the Suitable Lampshades
Of course different lights suit different lampshades, in fact, it is also necessary to choose the suitable lampshade.
2 : Why is Hipot Test Necessary for a mimi rc car?
If we are going to use direct current for hipot test, it is demanded that the testing voltage be higher than that of the alternating current.
3 : What Can I Do if I Forgot Administrator Password in Windows 7/Vista?
As you know, with built-in administrator account disabled by default in Win 7/vista, user with administrator right (we call it administrator in following text) has the highest privilege in daily use..
4 : Wlan Survey software for MAC
NetSpot gets an update. Version 1.1 goes out of beta and boasts a number of improvements. NetSpot is still the only free Wi-Fi scanner and mapping tool for Mac OS.
5 : Make Your Weight Loss Program Simple But Focused
Losing weight is as much about your thinking as it is about the program you use to lose the weight.
6 : Revenue and Profit Are Often Determined by Data Use
Today, businesses are collecting more and more information from a myriad of sources. Since everything seems to be online now - or at least in digital format - it's become easier to collect larger swaths of data. The secret, executives are finding, is in how you use the data you're collecting.
7 : Windows 7 Password Reset with a Reset Disk
This article mainly tells you how to create and use a Windows 7 password reset disk. Tips are also available if you forgot Windows 7 password without a password reset disk.
8 : How To Get Info On A Music Competition
In this Internet-connected, social media-driven world, event promotion has invaded every location of contact with consumers. Music festival promotion, in particular, is everywhere, and it's easier than ever to find facts about new festivals and track the ones that are held annually.
9 : Real time bandwidth monitoring
As a network administrator you need to ensure the network is running efficiently. It is important to keep network application and processes are running optimally. A good bandwidth monitoring tool should provide deep network analysis.
10 : Using A Network Monitoring Service
Today's businesses have already a lot weighing on their minds without the need to take care of technological issues. Minimizing their parts of focus is effective, to enable them to focus on the main mission of the business. By choosing separate IT companies for their network monitoring service, businesses will benefit both immediately and in the future, decreasing the headache of the business proprietor and increasing output of hired individuals.
11 : Acting Courses, What You Need To Know!
Acting courses come in various shapes, sizes and most importantly costs. How do you know which is a good one? What I have below is a list of requirements, some obvious, some not, so when you are looking for a course the more of these boxes they tick the better.
12 : Radio Broadcasting Schools
Radio broadcasting educational facilities have arrive into their possess personal within the "Specifics Age." Along with other varieties of media and conversation, radio is enjoying a time of fast enlargement and technological shift. Employers are seeking perfect citizens, and they're looking to start with at those who have acquired actual practical experience and skill in a quality education software. If you've got often wished an occupation in broadcasting, invest in exercising that will give you you with the benefit.
13 : Bottle Holder Baby Is Truly Beneficial For Mothers
Nowadays manufacturers are getting in line with the expectations of the consumer.
14 : Assistance For Expats on Finding a Superb Apartment For Rent
utilize Neighborhood Companies when in will need of Less Expensive Apartments in Spain Several with the UK can be utilized to finding a flat to lease, some people may have absent thru an company, a few may not, but to uncover a high-outstanding apartment for hire in Spain 1 must go through an company. Though the idea of having to pay an individual to get you an area to are living may seem alien to you, this is just the way that everybody finds apartments for hire in Spain. obviously, there are specific spots in which you'll be able to investigation for a completely good apartment not having using an company; although, this will likely call for far more labor on your own aspect.
15 : Residence Mortgage Issues & Answers
A Whole Whole Lot More Family Home Mortgage queries please visit : QEOK.com My house loan is regarded as a 5/1 arm which expired & I desire to be in motion last to 30yr, but my property professional is decrease than my mortgag? i implemented to be considering to provide your house when I for starters get in to the five/one arm but place costs went down, i used to be caught. the five yr... My mortgage loan lender, Wells Fargo, sent me an software with the Creating Household Cost Effective plan - any ideas? My husband and I a short whereas ago filed chapter 7 damage on every thing but our property and vehicle owing to him losing his work upcoming to zero unemployment many benefits for 6 months.