Difference rows number session report on preview form and code debug

Posted by: hoangnd3 on 27 May 2018, 11:10 pm EST

    • Post Options:
    • Link

    Posted 27 May 2018, 11:10 pm EST - Updated 30 September 2022, 6:15 pm EST

    Why value of the rows number in details of section report when debug at event PageStart is 44 rows/page but when show on preview is 43 rows/page

    Number of rows when debug:

    Number of rows when show on preview:

    Refer attachment:

    TestReport.zip

  • Posted 29 May 2018, 7:39 am EST

    Hello,

    I am able to replicate the problem at our end. I have escalated this to the development team(Tracking Id 258849) and will revert you back once have any information from them.

    Thanks

    Mohit

  • Posted 30 May 2018, 2:41 am EST

    Thanks you!

    Hope get feedback from you soon.

  • Posted 30 May 2018, 6:07 am EST

    Hello Nguyen,

    It is by design behaviour. As per documentation, section’s height is unknown until the Format event finishes, it is possible for a section’s Format event to be raised while the report is on a page to which the section is not rendered. For example, the Detail Format event is raised but the section is too large to fit on the page. This causes the PageFooter events and the PageEnd event to be raised on the current page, and the PageStart, any other Header events, and possibly the FetchData event to be raised before the section is rendered to the canvas on the next page. Please refer the following link:

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#ReportEvents.html

    However, I have modified the sample to achieve your requirement. Please refer the attached sample.

    Hope it helps.

    Thanks,

    Mohit

    TestReport_Modified.zip

  • Posted 31 May 2018, 3:59 am EST

    Thanks Mohitg,

    Can you give me some solution about my proplems,

    I want to identify first row in details and change value in any textbox at first row of page.

    As your demo, i cant change value textbox in first row of page

  • Posted 31 May 2018, 5:43 am EST

    Hello Nguyen,

    As per my understanding, you want to change the value of textbox in first row of every page. Please confirm if my understanding is correct. Also, please confirm, you want to change the value of textbox with any value or with sepcific value coming from database?

    Thanks,

    Mohit

  • Posted 31 May 2018, 10:12 pm EST

    Hello Mohitg,

    As you understanding,  i want to change the value of textbox in first row of every page.
    About the value of textbox is any value base on my specific  conditions
    
  • Posted 1 June 2018, 4:57 am EST

    Hello,

    Please refer the modified sample.

    Thanks,

    Mohit

    TestReport_ModifiedSAmple.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels