CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 7/5/2007 12:11:21 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 66 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
IceAngel89
Asp.Net User
SiteMapPath & Menu Bar(Navigation)7/5/2007 12:11:21 PM

0/0

 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. 

IceAngel89
Asp.Net User
Re: SiteMapPath & Menu Bar(Navigation)7/8/2007 1:45:38 AM

0/0

anyone? or do i have to create another SiteMap file? 

Amanda Wang - M
Asp.Net User
Re: SiteMapPath & Menu Bar(Navigation)7/9/2007 5:24:57 AM

0/0

Hi, you can use the remove method to remove the "Login" & "Register" items from menu, and this menthod will not change your sitemap. 

for example: 

 MenuItem mi = Menu1.FindItem("My System" + Menu1.PathSeparator + "Login");

        mi.Parent.ChildItems.Remove(mi);

 


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005

Web:
Dotnet-Friends.com | Website Navigation or Menu with ... Jul 5, 2007 ... How to add a Navigation bar or a Menu to your Website? .... Now, our asp: SiteMapPath will access the Provider directly. ...
Site Navigation in ASP.NET 2.0 | O'Reilly Media Sep 13, 2004 ... NET 2.0's breadcrumb control to automate the site navigation elements of a ... Using the Menu Control. Besides the new SiteMapPath control, ...
CodeProject: Navigation using dynamic SiteMapPath file. Free ... Navigation using dynamic SiteMapPath file. By Himanshu D This article demonstrates the ASP.NET 2.0 feature to extend menu generation using SiteMapPath . ...
Safari Books Online - 9780768682342 - Special Edition Using ... The SiteMapPath control improves your Web site's navigation by providing users with a bread crumb-style navigation bar, as shown in Figure 29.19. ...
A La Carte, Part 2: Build Deep, Flexible Navigation Using Four New ... Location, Location: Expand the Navigation menu to expose the SiteMapPath and Menu .... with the Menu control, in a similar style to the DevX navigation bar. ...
expression webdesigner TreeView, SiteMapPath, and Menu control TreeView, SiteMapPath, and Menu control - JAusti ... the Menu and SiteMapPath controls for overall navigation. ... Tool bar for JUSTIFY ...
How to create a menu bar and navigation at top in asp.net using vb ... NET » Getting Started »How to create a menu bar and navigation at top in ... and then add a sitemappath control to your page and a menu. ...
Lab 6: ASP.NET 2.0 Site Navigation In this exercise, you’ll add a navigation bar to the MyComics site, .... display the “SiteMapPath Tasks” menu again. Then click “End Template Editing” to ...
navigation controls Resources | TechRepublic NET 2.0 (Level 200): This webcast covers the navigation controls (SiteMapPath, Menu, TreeView), the Wizard control, and the MultiView control. ...
Using SiteMapPath to create drop down menus in breadcrumb ... When you put your mouse over a node link, a dropdown menu appears ... but not the child nodes (I am putting those in a side navigation bar). ...




Search This Site:










dnn 3.1.0: deleting users with sql

debugging javascript within .aspx pages

error while creating sub portal

web deployment project : assemblies not merging (with build output)

extending the personal starter kit

problem deploying club site starter kit to myhosting

not able to view the image on the website

comparing value in a textbox with a field in a database

build action properties

installing dnn 4.0.2 help!!!

ftp connection in asp.net

faq module issues

copy/paste controls generates error

creating a new website doesn't automatically create a virtual directory in iis

copy web site & publish web site

password

visual web developer and win 2000 server?? iis5

general question about user-agents, spiders and sessions

loading sequence for user controls

how do i use the newsarticle syndicated xml feed?

turn the daab to a web service ..

how to create a user wihtout email ?

child pages and delayed response.redirect

adding content dynamically to a content page in a masterpage contenplaceholder

impossible to query roles table?

failedpasswordattemptcount

spacebar revealing error list

can't use advanced select option (insert, delete ..)

how to change the contentplaceholder bgcolor using theme skin file?

when i try to add a new section, dnn dies

 
All Times Are GMT