Thursday, December 30, 2010

showModalDialog PostBack issues in asp.net

If we open a page using showModalDialog('popuppage.aspx') in javascript and then when we submit this page it opens a new window so , here is the way to get rid of it.
just need to add this tag in popuppage.aspx in header section of the page.
<base target="_self" />

No comments:

Post a Comment