Thanks for the input Inmar
My Live site uses a sitemap so I am testing with a sitemap but have hit another problem (unrelated in itself).
I created a sitemap called Business.sitemap and placed it in the root of my site.
My sitemap datasource looks like this:
Code:
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="~/Business.sitemap" ShowStartingNode="False" />
If I use ctlF5 to test and click on a menu item that takes me to pages using the Business master I get an error "The SiteMapProvider '~/Business.sitemap' cannot be found"
I have also tried ./Business.sitemap and ../Business.sitemap to no avail
I
think this is related to another issue I am experiencing but I haven't solved yet which is that in the statement:
Code:
<img style="height:199px" alt="Beaufort Networks Logo" src="./images/BusinessIn.jpg" align="right" />
The image source is flagged as an error in Visual Studio and does not display in the design view but displays correctly on the site. (the only way I could get it to display -- and I have the same issues with other images.)
This code is in the business master page using the master master page and they are in a folder master pages in the root directory.
The images are in a folder called images also in the root of the directory.
Using ../images/businessin.jpg gets rid of the error in Visual Studio and the image displays in the design viewbut does not display when the site is run using CTL F5 ??????
using ~/images/businessin.jpg does not show an error but the images does not show either in the design viewor on the site when tested.
My site directory/folder structure seems to be not working as I would expect.
Well it's 11:25pm now and I'm tired so I will be visiting this again tomorrow. If you have any more pointers I'd appreciate them :)