Walkthrough for show report in MVC
Walkthrough for show report in MVC
I am new to this, and according to the steps I had created a project and added references to DLL, but still after than when I use stireport viewer in razor engine, It will show namespace issue as not found, what should I do, is there any basic walkthough available so I can easily learn from it.
Thank you
Thank you
Re: Walkthrough for show report in MVC
Hello.
Please, read the Showing Reports section of the Programming Manual.
If you have any problem with our product, please, send us more detailed description of it.
Thank you.
Please, read the Showing Reports section of the Programming Manual.
If you have any problem with our product, please, send us more detailed description of it.
Thank you.
Re: Walkthrough for show report in MVC
Html.Stimulsoft() shows error as System.Web.Mvc..HtmlHelper does not contain any definition for "Stimulsoft", how should I resolve that.
And if I write code as follows;
@using Stimulsoft.Report;
@{
StiMvcViewerOptions opt = new StiMvcViewerOptions();
Html.Stimulsoft().StiMvcViewer(opt);
}
Still giving exception as Stimulsoft namespace name not found
And if I write code as follows;
@using Stimulsoft.Report;
@{
StiMvcViewerOptions opt = new StiMvcViewerOptions();
Html.Stimulsoft().StiMvcViewer(opt);
}
Still giving exception as Stimulsoft namespace name not found
Re: Walkthrough for show report in MVC
Hello.
Please, add the Stimulsoft.Report.Mvc namespace to the Web.config in Views folder using next code:
Thank you.
Please, add the Stimulsoft.Report.Mvc namespace to the Web.config in Views folder using next code:
Code: Select all
<system.web>
<pages>
<namespaces>
<add namespace="Stimulsoft.Report.Mvc" />
</namespaces>
</pages>
</system.web>
Re: Walkthrough for show report in MVC
I had add above code into web.config and now getting error as "Value cannot be null. Parameter name: key ", why this error is occuring.
Re: Walkthrough for show report in MVC
Hello.
You should add next section to Web.config file in the root folder:
Thank you.
You should add next section to Web.config file in the root folder:
Code: Select all
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.1" />
</dependentAssembly>
</assemblyBinding>
</runtime>