Showing posts with label embedded. Show all posts
Showing posts with label embedded. Show all posts

Sunday, March 25, 2012

ActiveX and RDL

Is there any element that is supported by RDL that will allow an ActiveX control to be embedded into a Reporting Services report?

The ActiveX control doesn't need to be scripted, but only listed as an object tag with some parameter tags within it. I'm looking for something like this:

<ActiveXControl Name="Control1">
<ClassID>...</ClassID>
<Parameters>
<Parameter>
<Name>Param1</Name>
<Value>Value1</Value>
</Parameter>
</Parameters>
</ActiveXControl>

I understand that an ActiveX control doesn't really make sense in any context outside of HTML, but the ability to do this would be very valuable to a lot of consumers I think. I am already aware of CustomReportItem, but I've been told the functionality of that element is limited to outputting an image.

Does such a construct exist?

Thanks.

For a while, we actually had this in RDL but we cut it because you could not do data binding for the control. We were also concerned about security and the cross-platform issues. We might bring it back in the future but no workaround for SQL 2005.

Sunday, February 12, 2012

Accessing Report Properties in Embedded Code

Is it possible to access report properties in embedded code? An earlier post
was looking to set the visible property of a table column depending on the
"RenderFormat" of the current output. I am also interested in doing this and
began playing in the embedded code window with code similar to..
Public Function MyType()
Return RenderedOutputFile.Type
End
This would fail with a RenderedOutputFile not declared message. I noticed
that the term "Me" works at the field level. Is there a similar way to
reference the current report instance?All properties are read-only. RS BOL contains information about all report
properties accessible within a report:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_expressions_v1_7ilv.asp
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"vmp_pdx" <vmppdx@.discussions.microsoft.com> wrote in message
news:564F2973-B890-4C0E-8C97-92D8213916DE@.microsoft.com...
> Is it possible to access report properties in embedded code? An earlier
post
> was looking to set the visible property of a table column depending on the
> "RenderFormat" of the current output. I am also interested in doing this
and
> began playing in the embedded code window with code similar to..
> Public Function MyType()
> Return RenderedOutputFile.Type
> End
> This would fail with a RenderedOutputFile not declared message. I noticed
> that the term "Me" works at the field level. Is there a similar way to
> reference the current report instance?
>