Adding Parameter to webreport dynamically

Is there any way I can add report parameter dynamically on webreport? Please help. I don't want to add the parameter on design time as my report criteria may vary upon selection of criteria. If so please provide with some code.

Comments

  • edited 4:37PM
    Hello,

    Just call the report.SetParameterValue(paramname, paramvalue) method. If there is no parameter with such name, it will be created.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.