javascript:window.location.href opens new tab in firefox and new window (rather as a pop up ) in IE . I want the page to open in the same window
<p>What do I need to change in the line below ? Please help . Thanks :)</p>

<pre><code> lstItems.Attributes.Add("onclick", "javascript:window.location.href='" + Project2.Constants.MySiteURL + "myPage.aspx/" + ID + "';");
</code></pre>

<p>edit:-</p>

<p>i found this solution on SO but dont know how to use it in my case :/</p>

<pre><code>window.open("http://asdf.com", "window_name","location=1,status=1,scrollbars=1,resizable=no,width=650,height=650");
</code></pre>

<p>edit 2 :-</p>

<p>Any Javascript expert in here ?? Please help me out.</p>

<p>edit3 :-</p>

<p>@Headshota:: Its still opening in new tab in firefox and as apop up window in IE :(</p>

<p>edit 4 :-</p>

<p>@ Craig :: What does this mean? "possibly got a misplace target="_blank" somewhere" How do i check for it?? </p>

<p>edit :-</p>

<p>Could someone please help me out with this ? :(</p>

<p>I have tried whatever I could but i just can't get the page to open in the same window. Please someone  help me out.</p>
