I have the following directory structure
\myrmc
\mydal
In each directory i have an aspx page with the same name
mydata_sales.aspx
I also have an XML file in each directory that is loaded up by the following
code in the aspx page
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="XMLMenu.xml" ></asp:XmlDataSource>
The contents of each xmlemnu.xml file is different depending on the
directory. My problem is that it seems to be caching this xml file. If I
go to myrmc\mydata_Sales.aspx first then no matter which directory you go
into after that you see the XMLMENU.xml page from the myrmc directory. How
do I get it to load the appropriate file within the directory?

Re: Cached file problem by David

David
Fri Jun 22 12:45:31 CDT 2007

On Jun 22, 9:58 am, NeedToKnow <NeedToK...@newsgroups.nospam> wrote:
> I have the following directory structure
> \myrmc
> \mydal
> In each directory i have an aspx page with the same name
> mydata_sales.aspx
> I also have an XML file in each directory that is loaded up by the following
> code in the aspx page
> <asp:XmlDataSource ID="XmlDataSource1" runat="server"
> DataFile="XMLMenu.xml" ></asp:XmlDataSource>
> The contents of each xmlemnu.xml file is different depending on the
> directory. My problem is that it seems to be caching this xml file. If I
> go to myrmc\mydata_Sales.aspx first then no matter which directory you go
> into after that you see the XMLMENU.xml page from the myrmc directory. How
> do I get it to load the appropriate file within the directory?


Your question seems to be with how the ASP.Net control works. Please
check with ASP.Net related newsgroup/forums, such as www.asp.net, for
information on whether it is possible to do what you want. ASP.Net is
not IIS.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//