admin管理员组文章数量:1356304
I have two pages A.aspx and B.aspx
Page A.aspx opens B.aspx as modal popup by javascript function window.showModalDialog("B.aspx");
Page B.aspx has two text boxes (Login, Password), <asp:Button>
control and button click event in server code.
Problem is when I click on the submit button it opens me B.aspx page in new third window
How is it possible to not open new window on submit button. Thanks!
I have two pages A.aspx and B.aspx
Page A.aspx opens B.aspx as modal popup by javascript function window.showModalDialog("B.aspx");
Page B.aspx has two text boxes (Login, Password), <asp:Button>
control and button click event in server code.
Problem is when I click on the submit button it opens me B.aspx page in new third window
How is it possible to not open new window on submit button. Thanks!
Share Improve this question asked Feb 2, 2011 at 11:28 ihorkoihorko 6,95526 gold badges80 silver badges123 bronze badges2 Answers
Reset to default 8simply in the modal window put this to the <HEAD>
<BASE target="_self">
move B.aspx code to B.ascx (user control)
本文标签: javascriptwindowshowModalDialog and postback buttonStack Overflow
版权声明:本文标题:javascript - window.showModalDialog and postback button - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744009146a2575241.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论