Monday, January 10, 2011

Calling Modal Form Spawns new windows Fix Asp.Net

New windows were being opened when I was doing postbacks on programs invoked using window.showmodaldialog.

The solution is to add this code to the <Head> section of the page.


<base target=_self>

This solved the problem. No more extraneous windows!!!!

No comments:

Post a Comment