Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Prompt before closing MAUI / Blazor hybrid

$
0
0

I've created a MAUI / Blazor hybrid app, following this guide here https://www.telerik.com/blogs/sharing-code-blazor-dotnet-maui and everything works fine so far.

In my app saving needs to be done manually (and I don't want to save automatically aswell), so I'm looking for some way to show a prompt before closing the app when there are unsaved changes.

When the app is running in the browser, I think this shoud be no problem but I struggle to archive that within MAUI. I'm able to detect when the app is closing but I can't prevent it or abort it.

Is there any way to do this in MAUI or do I have to find another solution?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>