Hi
I am getting error, "Form that is already displayed modal cannot be displayed as a modal dialog box. Close the form before calling showDialog" when I am showing form as showdialog. could you please suggest how do i check form is already open and if opened then how can I close it.
Thanks...
Getting error: Close the form before calling showDialog
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Hemant SrivastavaRank #581 · 4.2K reputationPosted Dec 19, 2012, 4:43 AM EST
If it's the case, you may instantiate Model form at only one place and just show/hide as per your need.