window.showModalDialog problem in ASP.NET
-
when i used this coding to open a modal window it open a modal window but problem is that if i put a server control on this modal page i always open a new window. i also a lnkbutton but same thing occur with link button. window.showModalDialog("AddressDetails.aspx","","dialogWidth:500px;dialogHeight:500px") so currently i using the window.open but if any solution of using window.showModalDialog then this will be nice for my project. Tariq Mahmood Software Engineer ITSecurities Pvt Ltd
-
when i used this coding to open a modal window it open a modal window but problem is that if i put a server control on this modal page i always open a new window. i also a lnkbutton but same thing occur with link button. window.showModalDialog("AddressDetails.aspx","","dialogWidth:500px;dialogHeight:500px") so currently i using the window.open but if any solution of using window.showModalDialog then this will be nice for my project. Tariq Mahmood Software Engineer ITSecurities Pvt Ltd
If I remember correctly, in your AddressDetails.aspx page, put the following into the
<head>
tag:<base target="_self">
Hope that helps