Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Page control (listpart) in a Page

Posted on by 5,124

I have a Page with a Page (subpage) as one of its controls.  This subpage is a listpart.  I would like to change the contents of that subpage depending on the criteria entered by users in the Main Page.  E.g., users may change the value on a Date field.  Then I have a Page action on this.  What I want to do is refresh the contents of listpart subpage which will affect the records being displayed on this listpart.  Please help on how to make this happen.  I have already created a function in the listpart to accept a new date and a function to refresh the listpart.  I just don't know how to call from the main page and how to refresh its contents.  Thank you much in advance.

*This post is locked for comments

  • Verified answer
    mbr Profile Picture
    mbr 5,124 on at
    RE: Page control (listpart) in a Page

    Hello all, I figured it out.

    CurrPage.<Name of the Page>.PAGE.<Function Name>(Parameters);

    CurrPage.UPDATE;

    whereby Function Name sets the necessary parameters in the listpart and runs the refresh of the page.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans