ASPnet web Form Navigation
<p>I want to redirect a new tab and to get focus of the new window when a button is clicked.. I can create a new window, but can't get its focus even thourh, I tried the following code
Window.focus(); How to do this?</p>

<p>My Code:
function new_window(url)
 {</p>

<pre><code> //Open a Window in New tab
 var popupwin = null;
 popupwin = window.open(url);
 popupwin.focus();
 self.focus();
 //window.focus();
</code></pre>

<p>} </p>
