StiMvcViewer is not defined

Stimulsoft Reports.WEB discussion
Post Reply
Roger
Posts: 10
Joined: Wed May 30, 2007 9:39 am
Location: Dordrecht, The Netherlands

StiMvcViewer is not defined

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiMvcViewer is not defined

Post 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.
Roger
Posts: 10
Joined: Wed May 30, 2007 9:39 am
Location: Dordrecht, The Netherlands

Re: StiMvcViewer is not defined

Post 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?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: StiMvcViewer is not defined

Post by Vladimir »

Hello,

We need additional time for testing.

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

Re: StiMvcViewer is not defined

Post 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.
Attachments
Mvc4-test.zip
(11.5 MiB) Downloaded 720 times
Post Reply