Hello,
Please specify you sent parameters are passed to the "GetReportSnapshot" action? In this action, the "mvcviewerid", "reportguid", "servercachemode" and others parameters must be present, which are passed to AJAX request from the MvcViewer.
Thank you.
calling GetReportSnapshotResult OUTSIDE of getResultSnapshot
Re: calling GetReportSnapshotResult OUTSIDE of getResultSnap
Ok.
Explicitly I am not passing them at all. I am using the "MvcBusinessObjects (Razor)" project as a reference.
So what I found out, that I have been missing "RenderMvcViewerScripts", which solved my problem with the Http-GET.
But still I am not sure how to handle the report, with the POST request.
M
Explicitly I am not passing them at all. I am using the "MvcBusinessObjects (Razor)" project as a reference.
So what I found out, that I have been missing "RenderMvcViewerScripts", which solved my problem with the Http-GET.
But still I am not sure how to handle the report, with the POST request.
M
Re: calling GetReportSnapshotResult OUTSIDE of getResultSnap
Hello,
Please explain the problem in more detail.
Viewer requests a report or page of the report using a GET request.
Thank you.
Please explain the problem in more detail.
Viewer requests a report or page of the report using a GET request.
Thank you.
Re: calling GetReportSnapshotResult OUTSIDE of getResultSnap
I am just having trouble to understand fully the lifecycle with the reporting.
Why is
then calling in my Post-Request
And why then does it render correct the first time, but throws the mentioned Exception when being called a second time (submit)?
Thx. M.
Why is
Code: Select all
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {
Theme = StiTheme.Office2010,
ActionGetReportSnapshot = "SimpleReportGo",
Code: Select all
public ActionResult SimpleReportGo()
{
return RedirectToAction("Statistics", "Reporting");
}
[HttpPost]
public ActionResult SimpleReportGo(String simpleReportSince) {
....
}
Thx. M.
Re: calling GetReportSnapshotResult OUTSIDE of getResultSnap
Hello,
If you use mode with cache, ActionGetReportSnapshot action will be called only once. In further work the viewer (change the pages, zoom) ActionViewerEvent action will be called. If caching is disabled, then, for each action, the ActionGetReportSnapshot action will be called. Maybe that's the problem.
Thank you.
If you use mode with cache, ActionGetReportSnapshot action will be called only once. In further work the viewer (change the pages, zoom) ActionViewerEvent action will be called. If caching is disabled, then, for each action, the ActionGetReportSnapshot action will be called. Maybe that's the problem.
Thank you.