Passing property values between subreports

3 posts, 1 answers
  1. Deepak Shakya
    Deepak Shakya avatar
    118 posts
    Member since:
    Aug 2007

    Posted 20 Jan 2011 Link to this post

    Hi,

    I have two subreports within a report. I need to some calculation in the second subreport based on the property in the first subreport.

    The way I did this is:
    • Created a public property in first report
    • Assigned a value of a textbox using Itemdatabound event
    • Assigned the value to a variable in the master as var = report1.propertyName
    • Assigned this variable to a parameter in the second report as : report2.parameter[0].value
    • Trying to perform calculation in the report2 using the parameter value.

    This isn't working. Any suggestions?
    Thanking you in advance.

  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 26 Jan 2011 Link to this post

    Hi Deepak,

    Telerik Reports are standard .NET classes so you can abstract yourself from the fact that you're working with reports and achieve your requirement.

    Greetings,
    Steve
    the Telerik team
    Get started with Telerik Reporting with numerous videos and detailed documentation.
  3. Deepak Shakya
    Deepak Shakya avatar
    118 posts
    Member since:
    Aug 2007

    Posted 26 Jan 2011 Link to this post

    Hi Steve,

    Thanks for your help. It is working now. Loving working with the reports!

    Cheers!
Back to Top