Grouping and ordering controls in the report dialog
The report dialog is constructed automatically by the UI builder in Sysoperationframework
, but sometimes you may want to influence how the controls are visualized in the dialog. In this recipe, let's see the different options available for grouping and ordering controls in a report. There are multiple options for this. We will start with a simple grouping mechanism and move on to more sophisticated changes.
Getting ready
This recipe will extend the PktRDLCustTransList report we built in Chapter 3, Report Programming Model, and the PktInventBatchTrans report built in Chapter 4, Report Programming Model – RDP.
How to do it...
This section will discuss grouping controls at the model level, that is, in the Visual Studio editor, followed by grouping controls at the UI builder and contract level.
Grouping in report model
In the Visual Studio report, expand the Parameters node. Right-click and go to Add | Parameter Group. Specify the Date Range label...