All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
I have a RadPopup with buttons that navigate to new pages via shell navigation. When I click to navigate to the new page it remains open.
I would like the popup to disappear like the rest of the page, but when I press back, I would expect it to still be open
Hi Kevin,
You have to close the popup when navigation to a new page. For example:
private async void ClosePopup(object sender, EventArgs e) { await Shell.Current.GoToAsync("NewPage1"); this.popup.IsOpen = false; }
And then open the popup when returning to this page. You can use the shell navigation events, page events, etc.
protected override void OnNavigatedTo(NavigatedToEventArgs args) { base.OnNavigatedTo(args); this.popup.IsOpen = true; }
Shouldn't this behavior be built into the popup?
I have logged the behavior so the team can research this in details: https://feedback.telerik.com/maui/1620083-popup-does-not-close-in-shell-navigation When there is an update, the item status will be changed. For now use the suggested approach.