with pages in a subdir sitemappath and treeview d
Ok, so this is probably an easy question, but I'm not finding an answer to it.
I have a Web.sitemap in my root directory. I have a couple of different master pages in the root directory. I have pages in a subdirectory named "pages". I have a TreeView and a SiteMapPath on one of the master pages.
Oddly, even though the master page is in the root, with the Web.sitemap also in the root, when the sitemappath and treeview just dont show up on the page. They do show up on pages that are in the root directory.
Now I do understand that you have to write master page code so that it was if it were in the directory with the page. So I put full paths on html objects like "/myapplication/images/whatever.gif" and on web controls I put "~/images/whatever.gif". Those all work fine now.
THere is something about web.sitemap, sitemappath and treeview I am missing. If anybody knows I would be very appreciate!
Neil
Neil Timmerman
Programmer II
School of Medicine
University of Missouri Columbia
|