Page 1 of 1

How to display Form in HTML 5 viewer?

Posted: Mon Apr 14, 2025 7:50 pm
by jaimefuhr
Our application uses a very old version of Reports.Web (2011).

The control is capable of rendering the Form page in the report. We use this to allow the user to set various report parameters such as start and end date, and other filters.

I updated our control to 2022.1.2, which now uses the HTML 5 web viewer. The Form page is no longer displayed so I suspect there is a different way to allow user input.

We have over 40 reports that contain their own Form based on the type of report. It would be very time-consuming to write code to have the app pass in the parameters to the report; not every report requires the same inputs.

What are my options on getting our reports and controls updated from 2011 with the ability to display a Form? Does the latest version of Reports.Web have a user input like the old Forms?

Thanks
Screenshot 2025-04-14 155209.png
Screenshot 2025-04-14 155209.png (12.69 KiB) Viewed 3890 times
Screenshot 2025-04-14 155237.png
Screenshot 2025-04-14 155237.png (28.15 KiB) Viewed 3890 times

Re: How to display Form in HTML 5 viewer?

Posted: Mon Apr 14, 2025 8:16 pm
by jaimefuhr
I've found what I need to use which is, Report Variables
https://www.stimulsoft.com/en/documenta ... ng-manual/

This will work, but there is no information on how to get those values to my SQL query.

Re: How to display Form in HTML 5 viewer?

Posted: Mon Apr 14, 2025 8:50 pm
by Lech Kulikowski
Hello,

You can use the following query:
select * from tablename where columnname = {variablename}

Thank you.

Re: How to display Form in HTML 5 viewer?

Posted: Sat Oct 25, 2025 4:01 pm
by rocky07
In the HTML5 viewer (from Stimulsoft Reports.Web 2022.1.2 onward), the old Form pages are no longer supported — they’ve been replaced by a “Request from User” parameters dialog that automatically appears when a report includes variables marked for user input. To replicate your old Forms, you can either use this built-in dialog or create a custom parameter UI that passes values to the report through the viewer API. While it requires some adjustment, this approach is the modern replacement for the legacy Form functionality. Nulls Brawl

Re: How to display Form in HTML 5 viewer?

Posted: Mon Oct 27, 2025 8:44 am
by Lech Kulikowski
Hello,

Thank you for sharing your experience with other users.