开发者

Problem with showModalDialog javascript function in Internet Explorer

I am having a parent page from which I am opening another page in a modal popup window using "showModalDialog" javascript function, the page is opening correctly in a modal popup window, but the problem is that, when I click on any <aspx:Button> in the modal popup page, the page again gets opened in a new browser window, while in the m开发者_JAVA技巧odal popup window, it is still open.

Any body knows why this is happening ?

I have also attached a sample solution for this containing the least amount of code required to produce the problem:

http://rapidshare.com/files/435608108/ShowModalDialogProblem.rar

Any other way to solve this problem is also appreciated.


Just add the following in the <head> section of your aspx page:

<base target=_self>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜