Deploying Reports After working hard to build your reporting solution and test it on your computer, you will certainly want to deploy it to the end users computer. Although Microsoft advertises that .NET installations are no more difficult than an “XCOPY” deployment, this is only true if you use 100% .NET managed components. If your […]
19.12 Exporting to a New Browser Window
Exporting to a New Browser Window I frequently see people on the forum asking how to export reports to a new browser window. This keeps the report output separate from your web application’s browser. The reason that this is important is because users have a tendency to close the browser window when finished reading a […]
19.11 Printing via the Browser
Printing with ASP.NET The Crystal Reports web viewer control gives you a print button to send your reports directly to the printer. But, there are times when you want to view them in a different format, or save them to a separate file. For example, many people like to view reports as a PDF file […]
19.10 Exporting to Exchange Folders
Exporting to Exchange Folders Crystal Reports lets you export a report to an Exchange folder. Table 19-8 shows the properties that need to be set for this to work. Table 19-8. ExchangeFolderDestinationOptions Properties. Property Description DestinationType The export destination type FolderPath The path of the Exchange folder Password The Exchange password Profile The user profile […]
19.09 Exporting to Email
Exporting to Email Exporting a report to an email creates the report as a separate file and attaches it to an email message. This email message is automatically sent out to the recipient. Table 19-7 shows the properties for exporting to email. Each of these properties relates to the typical settings you find when sending […]
19.08 Exporting to HTML
Exporting to HTML HTML output is inherently different from exporting to the other file formats. HTML files are meant to be viewed in a web browser and this can impose certain requirements on how you present the data to the user. You have the option of displaying the entire report in a single browser window […]
19.07 Exporting to Excel
Exporting to Excel Exporting a report to an Excel spreadsheet gives you options to work with the report areas and how the columns are formatted. The columns can be formatted so that they have headers and that they are all the same width. Table 19-5 shows the properties used for setting the Excel formatting. Table […]
19.06 Exporting to PDF, RTF, and Word
Exporting to PDF, RTF, and Word Documents The process for exporting to PDF, RTF, and MS Word shares the same classes for all three. In fact, the code is identical except for the property that sets the export format type, which specifies which of the three types to use. Exporting a report to PDF, RTF […]
19.05 Advanced Techniques
Advanced Exporting When you want to do more than a simple export to disk, use the Export() method. It has many classes and properties for customizing the export process. Consequently, having additional classes and properties makes this method more complicated to learn and use. This chapter gives you many examples that make it easy to […]
19.04 Quick Exporting to Disk
Easy Exporting To Disk There is one method that makes exporting easy: ExportToDisk(). Without a doubt, the ExportToDisk() method is the most popular way of exporting a report because you are only required to specify the format type and the filename. The following code shows an example or saving a report as a PDF file. […]