locked
No FindNext method for Webforms RRS feed

  • Question

  • User1912047403 posted

    I am creating a custom toolbar for a reporting application and everything is working well except for there is no FindNext method. There is a method for Find() but no FindNext(). The default toolbar has the find next functionality and WinForms has a FindNext method but nothing for Webforms. Any thoughts on why this is and any possible solutions?

    Friday, July 20, 2018 12:19 PM

Answers

  • User36583972 posted


    Hi zdyck,

    I am creating a custom toolbar for a reporting application and everything is working well except for there is no FindNext method. There is a method for Find() but no FindNext(). The default toolbar has the find next functionality and WinForms has a FindNext method but nothing for Webforms. Any thoughts on why this is and any possible solutions?

    I cannot understand your issue clearly. You can describe clearly and provide the corresponding steps and code when others need to restore your questions. This will help people to analyze the problem better.

    findNext Method:
    https://msdn.microsoft.com/en-us/library/dd756408.aspx

    find Method
    https://msdn.microsoft.com/en-us/library/dd756382.aspx


    Best Regards,

    Yong Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 23, 2018 5:49 AM

All replies

  • User36583972 posted


    Hi zdyck,

    I am creating a custom toolbar for a reporting application and everything is working well except for there is no FindNext method. There is a method for Find() but no FindNext(). The default toolbar has the find next functionality and WinForms has a FindNext method but nothing for Webforms. Any thoughts on why this is and any possible solutions?

    I cannot understand your issue clearly. You can describe clearly and provide the corresponding steps and code when others need to restore your questions. This will help people to analyze the problem better.

    findNext Method:
    https://msdn.microsoft.com/en-us/library/dd756408.aspx

    find Method
    https://msdn.microsoft.com/en-us/library/dd756382.aspx


    Best Regards,

    Yong Lu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, July 23, 2018 5:49 AM
  • User1912047403 posted

    As you can see below the report viewer for the WebForms has a Find Method but no FindNext method.

    The ReportViewer I am using: 

    https://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.reportviewer.aspx 

    The WinForms report view does have a FindNext method. Seems like an odd thing to exclude from the WebForms class.

    https://msdn.microsoft.com/en-us/library/microsoft.reporting.winforms.reportviewer.aspx 

    Monday, July 23, 2018 1:06 PM
  • User475983607 posted

    Unlike WinForms, Web applications are stateless.  It is up to the programming to manage state.  

    Monday, July 23, 2018 1:18 PM
  • User1912047403 posted

    Thank you for bringing these methods to my attention. They worked flawlessly. I just had one other question. Is there a way to get access to the current page once the Find or FindNext method finishes? I have a custom toolbar I have been working with and want to update the current page number. I have been looking into the documentation and have not seen anyway to get the current page number once the Find is completed.

    Monday, July 23, 2018 2:40 PM