Page 1 of 1

StiMvcViewer is not defined

Posted: Fri Jan 04, 2013 9:08 am
by Roger
I am using the 2012.3 trial download to get a report on a MVC Razor page.
I get this error: "StiMvcViewer is not defined"

I have done this:
- put all assemblies in bin
- put "@Html.Stimulsoft().RenderMvcViewerScripts()" on _layout
- copied code from the MvcRazorView Sample Project (Home Controller/Index Action and View)
- put assemblies references in system.web in web.config
- my reports works in the standalone designer

I must be missing something!
Can you tell me what i am doing wrong?

Many thanks

Re: StiMvcViewer is not defined

Posted: Sat Jan 05, 2013 7:25 am
by HighAley
Hello.

Please, try to add next code in the View where the MvcViewerFx is.

Code: Select all

@using Stimulsoft.Report.Mvc;
Thank you.

Re: StiMvcViewer is not defined

Posted: Wed Jan 16, 2013 3:10 pm
by Roger
Hi,
Thanks for your suggestion. But no, this is not a solution.

After some experiments I discovered that my problem occurs only when I am using the css files of bootstrap (http://twitter.github.com/bootstrap/index.html)

Any ideas?

Re: StiMvcViewer is not defined

Posted: Thu Jan 17, 2013 2:53 pm
by Vladimir
Hello,

We need additional time for testing.

Thank you.

Re: StiMvcViewer is not defined

Posted: Fri Jan 18, 2013 1:02 pm
by Vladimir
Hello,

We tested MvcViewer with MVC4 and bootstrap and found no problems, only problems with the styles (please see the attached test web project). Problems with the styles we will try to fix it in one week.

Thank you.