Hello,
I used the Close(); to close the popup page from the Content View page, but I got an error.
The error says that Close
was called on the wrong object. It needs to be called directly on the Popup. See
In order to close a Popup a developer must call
Close
orCloseAsync
on the Popup itself. This is typically performed by responding to a button press from a user.Quated from Closing a Popup.
Tested following the official documentation, displaying Popup
and closing in the ContentView
works as expected.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.