Hi,
firstly would like to thank all who help, very useful.
and for SiteMapPath, i will want all Paths to show.
i have a sitemap file:
1
2 <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
3 <siteMapNode url="~/" title="My System">
4 <siteMapNode url="~/login.aspx" title="Login" />
5 <siteMapNode url="~/register.aspx" title="Register" />
6
7 <siteMapNode url="~/User/" title="Member Area">
8 <siteMapNode url="~/User/index.aspx" title="Member Profile" />
9 <siteMapNode url="~/User/changepassword.aspx" title="Change Password" />
10 <siteMapNode url="~/User/editprofile.aspx" title="Edit Profile" />
11 </siteMapNode>
12
13 <siteMapNode url="~/Admin/" title="Admin Area">
14 <siteMapNode url="~/Admin/add/" title="Add">
15 <siteMapNode url="~/Admin/add/index.aspx" title="Add Index" />
16 <siteMapNode url="~/Admin/add/category.aspx" title="Add Classification" />
17 <siteMapNode url="~/Admin/add/items.aspx" title="Add Items" />
18 </siteMapNode>
19
20 <siteMapNode url="~/Admin/view/" title="View">
21 <siteMapNode url="~/Admin/view/index.aspx" title="View Index" />
22 <siteMapNode url="~/Admin/view/category.aspx" title="View Classification" />
23 <siteMapNode url="~/Admin/view/items.aspx" title="View Items" />
24 </siteMapNode>
25
26 <siteMapNode url="~/Admin/tasks/" title="Administration">
27 <siteMapNode url="~/Admin/tasks/index.aspx" title="Admin Index" />
28 <siteMapNode url="~/Admin/tasks/manageusers.aspx" title="Manage Users" />
29 </siteMapNode>
30 </siteMapNode>
31
32 </siteMapNode>
33 </siteMap>
Then for Navigation bars (bounded to SiteMap file) i do not want "Login" & "Register" to show up. they should be navigated through other pages. how do i do that? abit abstract but hope u understand. main thing is to hide SiteMapNodes from a Navigation bar (Navigation > Menu) but not SiteMapPath Control.