Thank you for any advise,
Environment: WXP Pro, VisualStudio 2005, Microsoft VB101SamplesWebDevelopment(MenuAndSiteMapPath)
Target:
Showing existing Word/Excel etc documents - converted to .htm(filtred) - using the ASP.NET2.0 WEB.Sitemap functionality.
more detailed:
definition of .htm files in the web.sitemap (see code below)
<siteMapNode url="SiteMapPages/Football.aspx" title="Football" description="Football" roles="">
<siteMapNode url="SiteMapPages/NFL.aspx" title="NFL" description="NFL" roles="" />
<siteMapNode url="SiteMapPages/USFL.aspx" title="USFL" description="USFL" roles="" />
---------> <siteMapNode url="SiteMapPages/Soins_M?dicaux.htm" title="Soins M?dicaux" description="Soins M?dicaux" roles="" />
</siteMapNode>
When using below code .... (from VB101 sample)
<%@ Page Language="VB" MasterPageFile="~/SiteMapPages/SiteMap.master" CodeFile="Soins_M?dicaux.aspx.vb" Inherits="Soins_M?dicaux_aspx" Title="Soins M?dicaux" %>
<asp:content id="Content1" contentplaceholderid="Content" runat="Server">
</asp:content>
.... a new IE page shows the .htm content. I.e. the content of the .htm does not show up in the 'contentplaceholderid="Content"' i.e. I loose all TreeView/Breadcrumb info!
Of course, when copying the html code in the 'Soins_M?dicaux.aspx' (WEB.sitemap) file itself the content shows correctly in the 'contentplaceholderid="Content"'.
Questions:
How can I direct .htm files (using WEB.sitemap) to a 'contentplaceholderid="Content"?
or,
How can I achieve this withouT 'contentplaceholderid="Content"' (BUT still using web.stemap/Menu/TreeView/SitemapPath functionality!)?
As usual it's probably dead easy but I just can't figure it out!
Thanks for your time
Edi Kaufmann