G
GroupReader
I have an ASP.Net 2.0 Treeview control that works fine in one virtual
directory, but not another. Same webpage, but accessed with a
different virtual path. Can anyone shed any light on the reason?
Here's the situation:
1) I have a website called "MyWebSite"
2) MyWebSite is accessible via two different virtual directories in
IIS:
- http:// localhost / MyWebSite, and
- http:// localhost / AnotherWebSite / MyWebSite
3) When I access my treeview page like this, it works:
- http:// localhost / MyWebSite / MyTreeviewPage.aspx
4) When I access my treeview page like this, it doesn't work
- http:// localhost / AnotherWebSite / MyWebSite /
MyTreeviewPage.aspx
Specifically, what does not work is all of the styles like nodeStyle,
hoverNodeStyle, selectedNodeStyle, etc... The styles don't show up at
all. I think it has something to do with the *.axd resource files, but
I can't figure out what. When I navigate directly to the *.axd files
by copying-and-pasting the urls into the browser, they all seem to
download just fine.
Also, my page has a MasterPage. Could this have something to do with
it??
Any help would be appreciated.
Thanks,
-dms
directory, but not another. Same webpage, but accessed with a
different virtual path. Can anyone shed any light on the reason?
Here's the situation:
1) I have a website called "MyWebSite"
2) MyWebSite is accessible via two different virtual directories in
IIS:
- http:// localhost / MyWebSite, and
- http:// localhost / AnotherWebSite / MyWebSite
3) When I access my treeview page like this, it works:
- http:// localhost / MyWebSite / MyTreeviewPage.aspx
4) When I access my treeview page like this, it doesn't work
- http:// localhost / AnotherWebSite / MyWebSite /
MyTreeviewPage.aspx
Specifically, what does not work is all of the styles like nodeStyle,
hoverNodeStyle, selectedNodeStyle, etc... The styles don't show up at
all. I think it has something to do with the *.axd resource files, but
I can't figure out what. When I navigate directly to the *.axd files
by copying-and-pasting the urls into the browser, they all seem to
download just fine.
Also, my page has a MasterPage. Could this have something to do with
it??
Any help would be appreciated.
Thanks,
-dms