Web Designer
In This Topic
    Design and View Custom Parameter Panel
    In This Topic

    The parameters panel can now be designed (and viewed) in Web Designer using the input controls. The users have the ability to create and define parameters/prompts quickly. The reports containing the custom parameter panel can be viewed in JSViewer. On preview, users can select the start date and the end date, and select hierarchical parameters.

    Design a Parameter Panel

     Design a Parameter PanelThe reference to AcmeStore.rdlx will be taken.

    1. Go to the Parameters tab at the top.

    2. Create the custom parameters view for the report by clicking the Generate button.
      If the report already has pre-defined report parameters, a default parameters layout is generated in the design area from these parameters. You can then build the parameters panel from the default view or simply create a fresh parameter panel using the controls available in the parameters designer.

    3. Drag-drop the controls from the toolbox that will be used for inputting parameters.

    4. Set the properties of each of the control such as Binding, Type, depending on the function each of the control.

    5. Add buttons to perform actions like Preview to preview report based on selected parameters, Reset to reset the parameter selection to default, and Clear to clear the selection, on preview window.

    Preview the Report with Custom Parameter Panel

    Preview a Custom Parameter Panel

    The controls making the panel have default properties set like name, label, default value, etc. control.

    Use Vertical Layout to see how parameters will look in the preview window. You can reorder the parameters by drag-drop operation. You can also control the position of labels for the controls making the panel. Also, you can choose if the Highlight is Required' for any errors while designing the parameter panel.

    For information on the Web Designer API and its integration into applications, see ActiveReports 15 documentation.