SelectDataSourcePage<TState, TResult> Class
Implements the Report Wizard’s Select Data Source page.
Declaration
export class SelectDataSourcePage extends FullscreenWizardPage
Type Parameters
Name | Description |
---|---|
TState | A type of the state to initialize the page (optional). |
TResult | A type of the page’s commit result (optional). |
Remarks
This wizard page allows users to select an available data source or create a new data source.
You can customize this page, hide specific sections or remove this page from the Report Wizard. To identify this page in code, use the FullscreenReportWizardPageId.SelectDataSourcePage enumeration value.
See the following topics for more information:
- Customize the Report/Data Source Wizard (ASP.NET Web Forms)
- Customize the Report/Data Source Wizard (ASP.NET MVC)
- Customize the Report/Data Source Wizard (ASP.NET Core)
Implements
Inherited Members
Inheritance
constructor(reportWizardOptions)
Creates a new instance of the SelectDataSourcePage<TState, TResult>
class with the specified settings.
Declaration
constructor(
reportWizardOptions: _ReportWizardOptions
)
Parameters
Name | Type |
---|---|
reportWizardOptions | _ReportWizardOptions |
Methods
getNextSectionId(sectionId) Method
Returns the next section’s ID.
Declaration
getNextSectionId(
sectionId: any
): string
Parameters
Name | Type | Description |
---|---|---|
sectionId | any | The current section’s ID. |
Returns
Type | Description |
---|---|
string | The next section’s ID. |
Remarks
You should override this method when you remove a specific section from the page and want to skip this section in the navigation logic.
See the following topics for more information:
- Customize the Report/Data Source Wizard (ASP.NET Web Forms)
- Customize the Report/Data Source Wizard (ASP.NET MVC)
- Customize the Report/Data Source Wizard (ASP.NET Core)
registerSections Method
Registers the page’s section.
Declaration
registerSections(): void
Remarks
This method registers the following sections in the Select Data Source page:
- ChooseAvailableDataSourcePage - allows users to select an available data source;
- ChooseDataSourceTypePage - allows users to select a type for a new data source.