Problem MvcMobileDesigner

Stimulsoft Reports.WEB discussion
Post Reply
rodrigo.avots
Posts: 21
Joined: Tue Nov 22, 2016 2:15 pm

Problem MvcMobileDesigner

Post by rodrigo.avots »

Hi!

I'm getting trouble with MvcMobileDesigner which does not respect DIV.
Attached example.
Can you help me?
Attachments
MvcMobileViewer (Razor).zip
(2.17 MiB) Downloaded 313 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem MvcMobileDesigner

Post by Alex K. »

Hello,

Could you explain your issue in more details?
Also please check the sample:
https://www.stimulsoft.com/en/samples/m ... ne-project

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem MvcMobileDesigner

Post by HighAley »

Hello.

We can't reproduce the issue.
Please, check this project https://www.dropbox.com/s/w0xngrb1p31xt ... V.zip?dl=0

Thank you.
rodrigo.avots
Posts: 21
Joined: Tue Nov 22, 2016 2:15 pm

Re: Problem MvcMobileDesigner

Post by rodrigo.avots »

Hi

Click the Ajax Designer button
The result is Full Designer, but it does not look like the Viewer that respects DIV.
Follows images of what happened (Image1 and Image2)
Image3 desired.
Image1.png
Image1.png (44.02 KiB) Viewed 3490 times
Image2.png
Image2.png (44.73 KiB) Viewed 3490 times
Image3 desired.
Image3.png
Image3.png (57.78 KiB) Viewed 3490 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem MvcMobileDesigner

Post by Alex K. »

Hello,

Could you explain your issue in more details?
Also please make your changes in our sample and send us this project for analysis.

Thank you.
rodrigo.avots
Posts: 21
Joined: Tue Nov 22, 2016 2:15 pm

Re: Problem MvcMobileDesigner

Post by rodrigo.avots »

Hi Aleksey!

Here's your changed example with the problem mentioned.
Attachments
MvcVieweSampleDIV2.zip
(971.14 KiB) Downloaded 850 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem MvcMobileDesigner

Post by HighAley »

Hello.

You should specify the Width and the Height of the Designer.

Code: Select all

new StiMvcMobileDesignerOptions
{
    ActionGetReportTemplate = "GetReportTemplate",
    ActionGetReportSnapshot = "GetReportSnapshot",
    ActionDesignerEvent = "DesignerEvent",
    Width = System.Web.UI.WebControls.Unit.Percentage(100),
    Height = System.Web.UI.WebControls.Unit.Pixel(700)
})
Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem MvcMobileDesigner

Post by Alex K. »

Hello,

Please try to set the following settings for the DIV:

Code: Select all

<div style="border: 3px solid red; position:relative;height:500px">
Thank you.
Attachments
Capture.PNG
Capture.PNG (63.83 KiB) Viewed 3449 times
Post Reply