Window.showModalDialog() using javascript
<p>I am opening a child window using window.showModalDialog() method. 
In the child page i have few server side controls whenever a postback happens the child page opens in a new window.</p>

<p>I have also set in my head tag,but it is not working. </p>

<pre><code>&lt;base target ="_self/&gt;
</code></pre>

<p>For example 
In Page 1: i have an anchor on whose click  i open a child page(page2).
In my child page Page2: I have an asp.net button to search based on the criteria. when i enter the criteria and click search, the search results are show in new window rather then the same window.</p>

<p>similar to the post
<a href="http://forums.asp.net/p/1246676/2297583.aspx" rel="nofollow">http://forums.asp.net/p/1246676/2297583.aspx</a></p>
