Answer:
We can prevent Editor windows close in Scheduler by using OnEditorClose method and set cancel property is true.
...
"
OnPopupClose="@OnEditorClose">
@code{
public void
OnEditorClose(PopupCloseEventArgs args)
{
if (args.Type ==
PopupType.Editor) // Specify the type of window which you would like to close
{
args.Cancel
= true;
}
}
...
} |
Find the sample to prevent Editor windows close in Scheduler from here.