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

Answered Closed
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
Best Answer
0
0

Hi Tiago,

thanks, this is logged as WJ-7331.

Best regards
Frank

  • You must to post comments
Showing 1 result