|
Report Application Server .NET SDK Developer Guide |
|
To add a private helper method for RAS configuration Code |
|
|
|
Visual Basic |
|
|
Private Sub ConfigureCrystalReports() |
|
|
C# |
|
|
private void ConfigureCrystalReports() |
|
Next, you put a call to the ConfigureCrystalReports() method from within an event method, so that the ConfigureCrystalReports() method runs automatically when the form loads.
The ConfigureCrystalReports() method enables users to interact with the report at runtime. It also controls programmatic interaction with the report.
It is usually best to keep this region collapsed, because it contains auto-generated content that you rarely modify. However, you must add one line of code to this region before you collapse it again.
|
Visual Basic |
|
|
ConfigureCrystalReports() |
|
|
C# |
|
|
ConfigureCrystalReports(); |
|
|
|
|
Although the Page_Load event is usually used to load Web form configuration code in a .NET Web application, it is not the correct event method to use with Crystal Reports. For more explanation, see Persistence limitations when report binding in the Page_Load event handler. |
This page is now the first page to load when the website is accessed.
Continue to To add a CrystalReportViewer control for Visual Studio .NET 2003.
© 2021 SAP AG. All rights reserved.
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator