B
Bruce
On WebForm1.aspx, I have a linkbutton to call a JavaScript
function to show a modal web page, WebForm2.aspx. Like
this:
function ShowNewPage()
{
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.
function to show a modal web page, WebForm2.aspx. Like
this:
function ShowNewPage()
{
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.