Hello,
From the menu I'd like open a dialog box :
<RadzenPanelMenuItem Text="Dashboard" Click=@ShowCloseableFromOverlayDialog/>
@code {
await DialogService.OpenAsync("Closeable from overlay Dialog", ds =>
@<div>
Click outside to close this Dialog
</div>, new DialogOptions() { CloseDialogOnOverlayClick = true });
}
There is a problem when I do this. The dialog appear and disappear immediately and I change page and arrive on the Dashboard page.
I'd would like :
- Stay on the current page when my dialog is open If I click on cancel button the dialog closed but I stay on the same page.
- When I click on "Save", call my backend and be redirect to an URL.
Testing for now but after I will use the " Open page as a dialog" sample.
Thanks,