How to present the available reports to the user?

3 posts, 1 answers
  1. Alex
    Alex avatar
    13 posts
    Member since:
    Aug 2010

    Posted 29 Jul 2011 Link to this post

    In a Silverlight app I have a ListBox which is populated using the results of the ListAvailableReports service method(available from the report service).
    The method's result is an IList<ReportInfo>.
    The class ReportInfo has 3 properties:
    Name - contains the report Class name in the Report Library,
    FullName - contains the full assembly name,

    Obviously I cannot use the firs two, for the user to identify the Report.
    My question is: How do I populate the Description property? (What property do I need to set in the Report class on the server ?)
    I've looked for some time, but i cannot find it.

    Ty for your time,

    Edit: I use the Reporting 2011 Q2.
  2. Answer
    Peter avatar
    1629 posts

    Posted 03 Aug 2011 Link to this post

    Hello Alex,

    The ReportInfo.Description property is populated from the report's description attribute. Check out the following code snippet:

    [Description("This is the report's description.")]
    public partial class MyReport: Telerik.Reporting.Report
        public MyReport()
    Hope this helps.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. Alex
    Alex avatar
    13 posts
    Member since:
    Aug 2010

    Posted 03 Aug 2011 Link to this post

    Thank you very much for the answer ... to be honest I would not have never thought that the description is populated by setting a class attribute :).
Back to Top