Thread: Login Question
View Single Post
  #2 (permalink)  
Old August 24th, 2010, 12:55 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,038, Level: 100
Points: 72,038, Level: 100 Points: 72,038, Level: 100 Points: 72,038, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,080
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Good to hear you like the book so much.

You posted this in the 4.0 forum, yet you're referring to the 3.5 version of the web site, Which version are you using?

You can do it, but it's not so easy. The Login link comes from the sitemap which always just contains the Login item. What you could do is remove that link from the sitemap, and add it to the Menu or TreeView on the fly programmatically. Not very easy, but certainly possible.

These links may help:

http://www.eggheadcafe.com/community...matically.aspx
http://www.codeproject.com/KB/menus/...ntrolASP2.aspx
http://www.google.com/#hl=en&q=asp.n...152bde1a0402c4


Let me know if you need some help with this,

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote