Parameters for the action GetReportSnapshot

Stimulsoft Reports.WEB discussion
Post Reply
Tânia
Posts: 34
Joined: Thu Jun 13, 2013 12:22 pm

Parameters for the action GetReportSnapshot

Post by Tânia »

In action GetReportSnapshot I need to pass a value to filter the data, the only alternative I found was to add the route of my controller, there is another alternative?

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Parameters for the action GetReportSnapshot

Post by Vladimir »

Hello Tânia,

You can use POST parameners (or Form parameters), for example:

Code: Select all

        public ActionResult GetReportSnapshot()
        {
            var values = StiMvcViewer.GetFormValues();
            var paramValue = values["ParamName"];
            ...
        }
Thank you.
Post Reply