Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

WebClient Error when CurrPage.Close is used

(0) ShareShare
ReportReport
Posted on by 3,957

Hi,

I've a customization where I need to close the current page after completion of some process. So, I've put CurrPage.CLOSE. It works perfectly fine in Windows Client but in WebClient I get the error 'Cannot read property $45 of null in the Webclient'.

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: WebClient Error when CurrPage.Close is used

    Open the Page in Design mode and check if you have duplicated IDs.

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: WebClient Error when CurrPage.Close is used

    Hi Stefano,

    How do I check the IDs of the Control??

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: WebClient Error when CurrPage.Close is used

    Have you checked the IDs of your controls? Do you have duplication?

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans