title: asp.net subdirectory sitemap
body: <p>I have this configuration in my application.</p>
  
  <p>~/sitemap.aspx
  ~/Web.sitemap
  ~/mobile/sitemap.aspx
  ~/mobile/Web.sitemap</p>
  
  <p>"mobile" folder is not an application and I cannot convert it due to some reason. Thus no webconfig file is there.</p>
  
  <p>What I want to do here is to use ~/mobile/Web.sitemap as the sitemap datasource for the treeview control in ~/mobile/sitemap.aspx.</p>
  
  <p>When I place this code:</p>
  
  <pre><code>&lt;asp:SiteMapDataSource runat="server" ID="MobileSiteMap" /&gt;
  &lt;asp:TreeView ID="trvSiteMap" runat="server" DataSourceID="MobileSiteMap" /&gt;
  </code></pre>
  
  <p>it loads ~/Web.sitemap instead of ~/mobile/Web.sitemap</p>
  
  <p>Any idea?</p>