Page 1 of 1

Problem MvcMobileDesigner

Posted: Tue Nov 29, 2016 11:46 am
by rodrigo.avots
Hi!

I'm getting trouble with MvcMobileDesigner which does not respect DIV.
Attached example.
Can you help me?

Re: Problem MvcMobileDesigner

Posted: Wed Nov 30, 2016 1:37 pm
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.

Re: Problem MvcMobileDesigner

Posted: Thu Dec 01, 2016 7:51 am
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.

Re: Problem MvcMobileDesigner

Posted: Thu Dec 01, 2016 12:00 pm
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 3489 times
Image2.png
Image2.png (44.73 KiB) Viewed 3489 times
Image3 desired.
Image3.png
Image3.png (57.78 KiB) Viewed 3489 times

Re: Problem MvcMobileDesigner

Posted: Fri Dec 02, 2016 11:21 am
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.

Re: Problem MvcMobileDesigner

Posted: Mon Dec 05, 2016 5:23 pm
by rodrigo.avots
Hi Aleksey!

Here's your changed example with the problem mentioned.

Re: Problem MvcMobileDesigner

Posted: Tue Dec 06, 2016 7:17 am
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.

Re: Problem MvcMobileDesigner

Posted: Tue Dec 06, 2016 7:19 am
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.