Page 1 of 1
Parameters for the action GetReportSnapshot
Posted: Fri Feb 13, 2015 11:34 am
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.
Re: Parameters for the action GetReportSnapshot
Posted: Fri Feb 13, 2015 11:51 am
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.