2 MvcViewer in 1 Page
-
- Posts: 38
- Joined: Thu Jun 23, 2016 2:03 am
2 MvcViewer in 1 Page
Hi,
I creating an app which user 2 MvcViewer but i'm having problem with it.
The report loads on the 1st MvcViewer always. Is there any work around for this?
like this..
<div> //report 1
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {})
</div>
I creating an app which user 2 MvcViewer but i'm having problem with it.
The report loads on the 1st MvcViewer always. Is there any work around for this?
like this..
<div> //report 1
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() {})
</div>
Re: 2 MvcViewer in 1 Page
Hello,
Please set the different component ID for each viewer
Thank you.
Please set the different component ID for each viewer
Code: Select all
<div> //report 1
@Html.Stimulsoft().StiMvcViewer("MvcViewer1", new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer("MvcViewer2", new StiMvcViewerOptions() {})
</div>
-
- Posts: 38
- Joined: Thu Jun 23, 2016 2:03 am
Re: 2 MvcViewer in 1 Page
Set component ID? I can't seem to find where to set its ID, can you help me where can i set this?Aleksey wrote:Hello,
Please set the different component ID for each viewerThank you.Code: Select all
<div> //report 1 @Html.Stimulsoft().StiMvcViewer("MvcViewer1", new StiMvcViewerOptions() {}) </div> <div> //report 2 @Html.Stimulsoft().StiMvcViewer("MvcViewer2", new StiMvcViewerOptions() {}) </div>
Thanks,
Re: 2 MvcViewer in 1 Page
Hello,
Please check the following code:
<div> //report 1
@Html.Stimulsoft().StiMvcViewer("MvcViewer1", new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer("MvcViewer2", new StiMvcViewerOptions() {})
</div>
Thank you.
Please check the following code:
<div> //report 1
@Html.Stimulsoft().StiMvcViewer("MvcViewer1", new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer("MvcViewer2", new StiMvcViewerOptions() {})
</div>
Thank you.
-
- Posts: 38
- Joined: Thu Jun 23, 2016 2:03 am
Re: 2 MvcViewer in 1 Page
Ok got it.. thanks, I didn't see that one.Aleksey wrote:Hello,
Please check the following code:
<div> //report 1
@Html.Stimulsoft().StiMvcViewer("MvcViewer1", new StiMvcViewerOptions() {})
</div>
<div> //report 2
@Html.Stimulsoft().StiMvcViewer("MvcViewer2", new StiMvcViewerOptions() {})
</div>
Thank you.

Re: 2 MvcViewer in 1 Page
Hello
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.