Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to customize an old version of the Report Wizard (that was used up to version 13.2)

$
0
0

Important Note: The approach demonstrated in this code example is related to an old version of the Report Wizard that was used up to version 13.2. Starting with version 14.1, a new version of the Report Wizard was introduced, so please refer to the How to customize the New Report Wizard (introduced in the 2014 vol.1 release) in the End-User Designer code example to learn how to customize the new version of the Report Wizard.


This example demonstrates how to create a Custom Report Wizard with the capability to define the SQL query, based on which the resulting report's data source will be generated (see the corresponding suggestion: AS4685).

In order to run you custom wizard in the corresponding handler, override the ReportCommand.NewReportWizard, ReportCommand.AddNewDataSource, and ReportCommand.VerbReportWizard commands (as described in this documentation article: How to: Override Commands in the End-User Designer (Custom Saving). A Custom Report Wizard inherits from the XRWizardRunnerBase class, custom wizard pages are inherited from the InteriorWizardPage class.

Note that for most custom wizard pages, you should override the InteriorWizardPage.OnWizardBack() and InteriorWizardPage.OnWizardNext() virtual methods, to provide proper wizard navigation logic.

Question Comments

Added By: Fernando Minguet at: 9/23/2013 2:51:31 PM    

How download this example for VS2012 and DevExpress 13.1.5

Added By: Troy Patterson at: 11/18/2013 3:31:47 PM    

How do you implement this when you've dropped a Ribbon Report Designer on the form?

Added By: R Williams at: 11/23/2013 3:46:04 AM    

In the code for this example where are the classes WizPageConnectionCustom, WizPageDataOption and WizPageQuery defined?


Viewing all articles
Browse latest Browse all 7205

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>