Page 2 of 6

Re: Extra pages

Posted: Thu Aug 27, 2015 6:31 am
by victorinable
Hi Aleksey,

This is my Razor page, not ASPX.

Code: Select all

@Imports Stimulsoft.Report.MvcMobile

@Code
    Dim options As StiMvcMobileDesignerOptions = New StiMvcMobileDesignerOptions
    options.Localization = ViewData("localization")
    options.ActionGetReportTemplate = "GetReportEdit"
    options.ActionSaveReportTemplate = "SaveReportEdit"
    options.ActionGetReportSnapshot = "GetReportSnapshotEdit"
    options.ActionGetNewReportData = "GetNewReportDataEdit"
    options.ActionDesignerEvent = "DesignerEvent"
    options.ActionExitDesigner = "ExitDesigner" 
    options.ServerRelativeUrls = True
    options.ServerCacheMode = StiDesignerCacheMode.Session
    options.InterfaceType = StiInterfaceType.Auto
    options.Controller = "repreports.mvc/dummy"
    options.ShowDictionary = True
    options.ShowFileMenuOpen = False
    options.ShowFileMenuExit = False
    options.ShowFileMenuClose = False    
    options.ShowTooltips = False
    options.ShowCrossTab = False
    options.ShowChart = True
    options.ShowPageButton = True
    options.ShowFileMenuNew = False
    options.ShowPreviewButton = True        
    options.Theme = StiTheme.Office2013
    options.Width = Unit.Percentage(100)
    options.Height = Unit.Pixel(700)
    
End Code


<div id="panel">
    @Html.Stimulsoft.StiMvcMobileDesigner("MvcMobileDesigner2", options)
</div>


<script type="text/javascript">
    $('style').remove();
</script>
Let me know if something else is needed.

Thanks.

Re: Extra pages

Posted: Thu Aug 27, 2015 12:10 pm
by HighAley
Hello, Victor.

Sorry, but this is not enough.
Did you try to make Height larger?
If this is not help, please, send us a sample project.

Thank you.

Re: Extra pages

Posted: Thu Aug 27, 2015 12:29 pm
by victorinable
Hi Aleksey,

No problem, tomorrow I'll prepare a little sample for you.
Even if I make it bigger it's not appearing. I tried to check differences between DEMO and my page, missing the element which holds the Page controls (Using freibug).

Once you get the project, you'll see easier than me!

Thanks for the support!

Re: Extra pages

Posted: Thu Aug 27, 2015 3:40 pm
by Andrew
Hello,

Ok. Waiting for your sample).

Re: Extra pages

Posted: Fri Aug 28, 2015 7:57 am
by victorinable
Hi Andrew,

Problem is solved (Almost). When I was preparing the project, I realized what was the problem: We are applying our own style to some components of the editor, we are disbling the css coming from the dll and using (Almost copy paste from yours) another file with some specific colors we want.

I guess new versions had a different css than older versions, and in some moment, OUR css was hidding those controls. Not hidding but not showing... So now I can see buttons for that. The only remaining problem is that, second page is not rendered. If I execute I can't see that second page, but If I export it, I can get it.

In my opinion, just to make designer more flexible for users, would be grat to have the style in a different css file so it's easy to apply own design if needed as in my case. I hope this is a good suggestion for your product, as it's a great tool;)

I'll struggle on why second page is not working... any hint?

thanks for the support!!

Re: Extra pages

Posted: Fri Aug 28, 2015 11:57 am
by HighAley
Hello.

We are working on external style. It should be available this year.

Unfortunately, we don't know what did you change in styles and what cause the issue.
You could try to create a page with Designer and default styles. You could compare the pages to find out what is wrong.

Thank you.

Re: Extra pages

Posted: Fri Aug 28, 2015 12:29 pm
by victorinable
Hi Aleksey,

Great news, this will be awesome for people (like me) that has customers that want to have their own corporative colors, as we will be able to modify styles avoiding "dangerous" css/JS hacks.

As you say, it's clear, it's nothing related to the plugin but to my instance, so I'll try to check myself how to make this work.

Many thanks for the support.

Re: Extra pages

Posted: Fri Aug 28, 2015 12:42 pm
by HighAley
Dear Victor,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.

Re: Extra pages

Posted: Wed Sep 02, 2015 2:41 pm
by victorinable
Hi Aleksey,

Re-opening this post, I've to inform that I can see almost everything fine. I removed my css layer to use the one privided by the plugin. But the problem is that now I can't see the charts, only when I export the report I can get it. All components are displayed unless all charts omn the MVC Mobile viewer. On Desktop designer I can see them.

Thanks in advance.

Re: Extra pages

Posted: Thu Sep 03, 2015 11:28 am
by HighAley
Hello.

It's very strange. Could you send us a screen-shot.
Please, try to clear browser cache.

Thank you.