How to use showModalDialog in asp.net?
Posted on 2003-10-29
window.showModalDialog("WebForm2.aspx","","width=400; height=200; resizable=yes; scrollbars=yes; top=300; left=300");
On WebForm2.aspx, I have a web control button. If I click on it, something weird happened. Instead of post back to the same page (WebForm2.aspx), it opens another web page, which is unexpected behavior.
Does anybody know how to fix this problem and let modal web page post back to itself?
Thanks a lot.