How do i get WebDesigner to NOT take over whole html page?

Stimulsoft Reports.WEB discussion
Post Reply
agent005
Posts: 24
Joined: Mon Dec 22, 2014 3:05 pm

How do i get WebDesigner to NOT take over whole html page?

Post by agent005 »

Using WebDesigner 2014.3.0.0
The StiWebDesigner is set within a div tag but it does not respond to height/width in anyway
So what should i change in the aspx/source code(c#) to let the StiWebDesigner show up partial instead of the whole page?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How do i get WebDesigner to NOT take over whole html pag

Post by HighAley »

Hello.

Please, send us a sample project which reproduces the issue with more detailed description.

Thank you.
agent005
Posts: 24
Joined: Mon Dec 22, 2014 3:05 pm

Re: How do i get WebDesigner to NOT take over whole html pag

Post by agent005 »

There is nothing really to add to sample project, I just want to have code below in .aspx file and be able to see Hello World and designer below it on the page. Is that possible? So far designer take the whole web page no matter what the mark-up is.

Code: Select all

        <h1>Hello World</h1>
        <div id="ReportView" class="ReportContents" runat="server">
            <cc1:StiWebDesigner ID="StiWebDesigner1" runat="server" Localization="en" ShowWizardAfterLoad="true" OnSaveReport="StiWebDesigner1_SaveReport" />

        </div>

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

Re: How do i get WebDesigner to NOT take over whole html pag

Post by Vladimir »

Hello,

Please set the Visible property of the WebDesigner component to true:

Code: Select all

<cc1:StiWebDesigner ID="StiWebDesigner1" runat="server" Localization="en" ShowWizardAfterLoad="true" OnSaveReport="StiWebDesigner1_SaveReport" Visible="True" />
Also use the next code for assign report:

Code: Select all

StiWebDesigner1.Report = report;
Thank you.
agent005
Posts: 24
Joined: Mon Dec 22, 2014 3:05 pm

Re: How do i get WebDesigner to NOT take over whole html pag

Post by agent005 »

I've added Visible="True" to designer tag, but I still get designer taking over full page instead of showing up under "Hello World" text in the example above. Any other property I need to set to make sure designer does not take the full page but shows below my header?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How do i get WebDesigner to NOT take over whole html pag

Post by Alex K. »

Hello,

Please see the sample in the attachment.

Thank you.
Attachments
WebDesigner.zip
(484.29 KiB) Downloaded 204 times
agent005
Posts: 24
Joined: Mon Dec 22, 2014 3:05 pm

Re: How do i get WebDesigner to NOT take over whole html pag

Post by agent005 »

Thanks for the sample! I do get report loaded and "Hello World" showing in your sample, but on my page in my project report designer still takes the whole page even if I completely copy it's tag with Height and Width attributes from your Default.aspx page. Any hints what I may be doing wrong?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How do i get WebDesigner to NOT take over whole html pag

Post by HighAley »

Hello.

It seems that you use Design() method. You should not use it if you don't need to get the Designer on the whole page.
If it is does not solve your issue, please, send us a sample project with data that reproduces the issue.
Also we need to see a screen-shots of the browser.

Thank you.
Post Reply