dbTalk Databases Forums  

not using iframes when rendering html

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss not using iframes when rendering html in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Upspn
 
Posts: n/a

Default not using iframes when rendering html - 11-02-2004 , 05:28 AM






Hi,

I am currently developing an online application that in some ways
emulates the report viewer available in Report manager, but where
there is no client-application.
I want to be able to change parameters and render the reporting
services reports within a single web page without the use of an
iframe.

1) Is it possible ? If so, is there anywhere i can get guidance ?
2) If it is impossible, then is it possible to create like the
Reporting Services viewer ? In particular, the behvaiour of the
scroll bars would be desirable - i.e. only the iframe vertical scroll
bar (and not the parent window scroll bar) is enabled at all times ?

Code, advice, criticism all welcome !
many thanks,
regards
Mark

Reply With Quote
  #2  
Old   
Scott Allen
 
Posts: n/a

Default Re: not using iframes when rendering html - 11-02-2004 , 09:37 AM






Hi Mark:

Yes, you can use the report server web methods. There is a Render
method available, and the trick is to pass a device info parameter
indicating you want an HTML fragment instead of the full-bodied HTML
(with a head tag).

The scrollbars you could accomplish, I think, by placing the HTML
fragment into a scrollable <div> tag.

I have some code samples around, if you need to see an exampe shoot me
an email.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 2 Nov 2004 03:28:50 -0800, Slowfinger (AT) gmail (DOT) com (Mark Upspn) wrote:

Quote:
Hi,

I am currently developing an online application that in some ways
emulates the report viewer available in Report manager, but where
there is no client-application.
I want to be able to change parameters and render the reporting
services reports within a single web page without the use of an
iframe.

1) Is it possible ? If so, is there anywhere i can get guidance ?
2) If it is impossible, then is it possible to create like the
Reporting Services viewer ? In particular, the behvaiour of the
scroll bars would be desirable - i.e. only the iframe vertical scroll
bar (and not the parent window scroll bar) is enabled at all times ?

Code, advice, criticism all welcome !
many thanks,
regards
Mark


Reply With Quote
  #3  
Old   
Mark Upspn
 
Posts: n/a

Default Re: not using iframes when rendering html - 11-03-2004 , 11:38 AM



Thank you very much !

We have now decided to go for option ii) , as we have controls within
some of the reports..

I have successfully disabled the window vertical scroll bar.. only
minor issue with this is useability for users at 800*600 resolution.

I think we've decided to screw'em anyways ...

thanks again
Mark

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.