title: Path not able to access css or js file on root in asp.net
body: <p>I am not able to get the correct path of CSS or JS file when i try to access them from sub folder <code>en/Default.aspx</code> file.</p>
  
  <p>I have following folder structure</p>
  
  <pre><code>Default.aspx
    en/Default.aspx
    en/MasterPage.master
    ar/Default.aspx
    ar/MasterPage.master
  scripts/slider/script.js
  styles/slider-en.css
  scripts/slider/jquery.easing.js
  </code></pre>
  
  <p>Code  in <code>en/Default.aspx</code> file</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/en/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %&gt;
  &lt;%@ Register Src="~/en/UserControls/ucSliderHP.ascx" TagName="ucSlider"  TagPrefix="uc"%&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;&lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"&gt;
  &lt;script src="../scripts/slider/jquery.easing.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../scripts/slider/script.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="&lt;%= Page.ResolveUrl("./styles/slider-en.css") %&gt;" rel="stylesheet" type="text/css" /&gt;
  
  &lt;div id="content-container-750"&gt;
      &lt;!-- Slider   --&gt;
      &lt;!-- Sidebar   --&gt;
  &lt;div id="sidebar-container-240"&gt;&lt;/div&gt;
  &lt;!-- Sidebar   --&gt;
      &lt;div id="Slider-Wrapper-750x300"&gt;
         &lt;uc:ucSlider ID="NewsSlider" runat="server" /&gt;       
      &lt;/div&gt;
       &lt;!-- Slider   --&gt;
  
        &lt;!-- Banner   --&gt;
        &lt;div id="content-Banner-750x100HP"&gt;
        &lt;/div&gt;
        &lt;!-- Banner   --&gt;
        &lt;!-- Article   --&gt;
        &lt;div id="article-wrapperHP"&gt;
        &lt;/div&gt;
        &lt;!-- Article   --&gt;
  &lt;/div&gt;
  
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>When i use <code>../</code> path it always returns path as 
   <code>http://localhost:49831/en/scripts/slider/script.js</code></p>
  
  <p>and when i use `Page.ResolveURL or ResolveURL it return me path as </p>
  
  <p><code>http://localhost:49831/website/en/Default.aspx?language=en-us&amp;issue=5</code></p>
  
  <p>I am not sure what should i do i tried <code>../../</code> also it doesn't work either </p>