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.

VulpesRank #55 · 29.2K reputationPosted Dec 17, 2012, 4:38 AM EST
Anyway, try this code: