Can I redirect the Admin->abc.aspx to rootfolder->index.aspx using javascript?
<p>Just explaining my question in short.</p>

<p>I have asp.net website with root structure as following</p>

<pre><code>root Directory-&gt;
    Admin
        abc.aspx
        xyz.aspx
    index.aspx
</code></pre>

<p>Now I want to redirect from <code>abc.aspx</code> to <code>index.aspx</code>.</p>

<p>I'm using JavaScript as </p>

<pre><code>window.location = "../index.aspx";
</code></pre>

<p>but found no any luck.</p>
