Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 24th, 2010, 12:12 PM
Registered User
 
Join Date: Jul 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Login Question

Hello there

I love working with this book. Just had one question, I was looking at the finished site (http://aspnet35.planetwrox.com/) When the user signs in, at the bottom it says "You are signed in as user name" (Logout). However at the top where it says Home, Reviews, Gig Pics and About, it says Login. Is there a way to change it so that it says Logout as well?

Last edited by NexusFactor; August 24th, 2010 at 12:22 PM..
Reply With Quote
  #2 (permalink)  
Old August 24th, 2010, 12:55 PM
Imar's Avatar
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
  #3 (permalink)  
Old August 24th, 2010, 05:12 PM
Registered User
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Login

Thanks Imar. I'm using the 4.0 book, however I was exploring the 3.5 version as well. I figured I'd ask, but thanks for the link and I will definitely be asking for help for the Login when I finish the site.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Question eiviery BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 9 December 14th, 2009 03:08 PM
Question in login script zone8567 Classic ASP Basics 1 May 25th, 2008 06:57 PM
one question about login control potato ASP.NET 2.0 Basics 1 July 12th, 2007 06:22 PM
Login Question Ben Horne Forum and Wrox.com Feedback 10 May 5th, 2004 01:03 PM
Login form question Jams30 PHP Databases 1 December 4th, 2003 12:10 PM



All times are GMT -4. The time now is 04:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.