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

How to customize a Report Wizard

$
0
0

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.

See also: How to customize the New Report Wizard (introduced in the 2014 vol.1 release) in the End-User Designer.

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

Trending Articles



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