G
Guest
I have a master page which contains a Menu control and a SiteMapPath control,
both are bound to the same web.sitemap XML file. Say I have 2 pages, Page 1
and Page 2. Now Page 2 can only be accessed after selecting some information
on Page 1 (using a CrossPagePostback). When the user get's to Page 2, the
SiteMapPath control fails to render, obviously because Page 2 isn't in the
web.sitemap file.
If I put Page 2 in the web.sitemap file, it then get's rendered in the Menu
control, which I don't want. So, is there any way to "hide" certain nodes in
a web.sitemap file from the Menu control?
Or is there anyway I can have the SiteMapPath control render properly on
Page 2 whilst not showing it in the Menu control to the user?
both are bound to the same web.sitemap XML file. Say I have 2 pages, Page 1
and Page 2. Now Page 2 can only be accessed after selecting some information
on Page 1 (using a CrossPagePostback). When the user get's to Page 2, the
SiteMapPath control fails to render, obviously because Page 2 isn't in the
web.sitemap file.
If I put Page 2 in the web.sitemap file, it then get's rendered in the Menu
control, which I don't want. So, is there any way to "hide" certain nodes in
a web.sitemap file from the Menu control?
Or is there anyway I can have the SiteMapPath control render properly on
Page 2 whilst not showing it in the Menu control to the user?