Showing posts with label element. Show all posts
Showing posts with label element. Show all posts

Friday, March 9, 2012

DeviceInfo issue...

Did anyone have problems using HTMLFragment or JavaScript element within
DeviceInfo parameter? I am passing the deviceinfo parameter as below :
result = rs.Render(Me._reportPath, Me._renderingFormat, Nothing, _
"<DeviceInfo><HTMLFragment>True</HTMLFragment><JavaScript>False</JavaScript>
<Section>1</Section><Toolbar>True</Toolbar><Zoom>75</Zoom></DeviceInfo>", _
Me._parameters, Nothing, Nothing, encoding, mime, history, warnings,
streamsId)
The only child element that really works into DeviceInfo element is the
Section parameter. The toolbar parameter I already know that doesn't work
within render method of RS web service. HTMLFragment, Javascript and Zoom
elements wouldn't have to work properly?
I am asking that because I am getting a Javascript error when my report
render. So I was wondering if turning Javascript off would solve this
issue... But I don't get how...
Any help is welcome.
thanks.
----
Renato Aloi
Analista Programador
J&W Informática Ltda.
+55 11 30406675Nevermind... I get rid off Toolbar element and it is working now.
[]s
Renato
"Renato Aloi" <aloi@.jew.com.br> escreveu na mensagem
news:%23ihP1ZgiEHA.712@.TK2MSFTNGP09.phx.gbl...
> Did anyone have problems using HTMLFragment or JavaScript element within
> DeviceInfo parameter? I am passing the deviceinfo parameter as below :
> result = rs.Render(Me._reportPath, Me._renderingFormat, Nothing, _
>
"<DeviceInfo><HTMLFragment>True</HTMLFragment><JavaScript>False</JavaScript>
> <Section>1</Section><Toolbar>True</Toolbar><Zoom>75</Zoom></DeviceInfo>",
_
> Me._parameters, Nothing, Nothing, encoding, mime, history, warnings,
> streamsId)
> The only child element that really works into DeviceInfo element is the
> Section parameter. The toolbar parameter I already know that doesn't work
> within render method of RS web service. HTMLFragment, Javascript and Zoom
> elements wouldn't have to work properly?
> I am asking that because I am getting a Javascript error when my report
> render. So I was wondering if turning Javascript off would solve this
> issue... But I don't get how...
> Any help is welcome.
> thanks.
> ----
> Renato Aloi
> Analista Programador
> J&W Informática Ltda.
> +55 11 30406675
>