Adding reference to .Net libraries and calling within report expressions

  • Hi all,

    I have a report with a graph. In the tooltips, I want to be able to format the tooltip using some .Net functions.

    I need to use .Net assemblies which are not included by default.

    I go to Report ->Report properties to add a reference to the .Net assembly on references page. e.g.

    System.drawing or System.web.

    I then go to the report expression for the tooltip and try to access the System.web but it is not recognised.

    Any thoughts on what I am doing wrong??

    Thanks!

  • nuala.carey (1/29/2010)


    Hi all,

    I have a report with a graph. In the tooltips, I want to be able to format the tooltip using some .Net functions.

    I need to use .Net assemblies which are not included by default.

    I go to Report ->Report properties to add a reference to the .Net assembly on references page. e.g.

    System.drawing or System.web.

    I then go to the report expression for the tooltip and try to access the System.web but it is not recognised.

    Any thoughts on what I am doing wrong??

    Thanks!

    I think you need to add that in the code box and call it as a function in your expression, in 2008 I think you could use both C# and VB. The other option is to use it in the Web version of the ReportViewer control.

    Kind regards,
    Gift Peddie

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply