ShowDialog: OnClose doesn't run unless you supply the owner

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

OnClose action runs all right when I use the overload

public Wisej.Web.DialogResult ShowDialog(Wisej.Web.Form owner, [System.Action<Wisej.Web.DialogResult> onclose = null])

but isn’t run when called using the overload

public Wisej.Web.DialogResult ShowDialog([System.Action<Wisej.Web.DialogResult> onclose = null])

In a nutshell, it needs the owner in order to run.

DeepLinking sample, Window1.cs file

Replace

Snippet

dialog.ShowDialog(this, result =>

By

Snippet

dialog.ShowDialog(result =>
  • You must to post comments
0
0

Hi Tiago,

thanks, this is logged as WJ-7331.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json