Page 1 of 1

Regarding Web and Report Criteria.

Posted: Thu Sep 18, 2008 5:57 am
by Ajax
Hi,
We are using you reports for a windows application,and use the report criteria via inbuilt forms(in designer) functionality (To Filter report for employees etc).Thank you again for this feature.My question is (since we may web enable our application). Do you provide any way to provide criteria for reports in case of web reports.

1.If so how ?
2.If not how can one archive this?
3.Are there any samples of criteria for the web or how is it done?

Thanks in advance for your replies.
Ajax

Regarding Web and Report Criteria.

Posted: Fri Sep 19, 2008 2:49 am
by Edward
Hello, Ajax.

And here is the list of requirements you have to satisfy for implementation of those inbuilt forms in Web Applications.

1. If any data is passed to the designer via RegData, then you have to put that code in the ReportConnect event of the StiWebViewer.
2. StiWebViewer.RenderMode must be set in one of the modes with cache enabled (i.e. AjaxWithCache or UseCache)
3. There can be only one form included in the report. Two and more forms in one report are not supported.
4. The set of the Components which could be used inside of those forms are very limited. Only base components could be used inside of the form.
5. The best place to generate the report is a button click. If PageLoad event is used then the report must be generated only once there, otherwise you will see report parameters form generated again and again.

Thank you.