Scenario
When you need to use a parameter of a type with many records in your report, it is convenient to filter the parameter's lookup.
While in the XAF WinForms application this option is built in the lookup editor, the ASP.NET parameter editors don't provide the filtering capability.
Steps to implement
You can provide the filter for the lookup parameter using an additional data source.
1. Add another Data Sources for Reports V2 to your report from the toolbox and set its ObjectTypeName to the type of the parameter.
2. Set the Criteria property of the data source to the required filter.
3. Add a parameter with the Type property set to key type. Enable "Support the collection of standard values" and set the DataSource, Display Member and Value Member properties.
Also, it is possible to use an approach from the "Cascading Parameters" part of the Parameters Overview article to provide a filter on the client side instead of setting the Criteria property of the data source.
Image may be NSFW.
Clik here to view.