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

Data Source Wizard – How to Replace the Standard Query Builder

$
0
0

 This example demonstrates how to replace the Query Builder dialog available through the query configuration page of the Data Source wizard with a custom dialog. To achieve this, create a custom wizard page that inherits from the default query configuration page class (DevExpress.DataAccess.Wizard.Presenters.ConfigureQueryPage). In the page class, override the RunQueryBuilder method with your custom logic to display a custom query builder and receive the resulting query.

 Implement the IWizardCustomizationService interface to register a custom query configuration page.

 For a general code example of how to customize the Data Source Wizard using the IWizardCustomizationService interface, see How to customize the New Report Wizard (introduced in the 2014 vol.1 release) in the End-User Designer.

 To display the created custom query customization page instead of the default Query Editor dialog when editing an existing query, implement the ISqlEditorsCustomizationService interface.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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