Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 9th, 2010, 03:56 PM
Authorized User
 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default Query about Label ID's

Hi all

I am working through 'Beginning Asp.net 3.5 in C# and Visual Basic'. Its a great book. I have got stuck on Chapter 4:Working with ASP.Net Controls. I have created a DropDownList Control and a Label Control. Imar asks you to set the DropDownList ID = 1stFavoriteLanguage and the Label ID = 1blResult. Both of which cause an error, Visual Studio says that both are not valid identifiers. When I stick to the default ID's they come with like Label1 for example they work fine and I just name them like that in my C# code but I just wanted to know what I was doing wrong? Or why they are not working?

Many thanks

Rob
  #2 (permalink)  
Old February 9th, 2010, 04:12 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Rob,

A few remarks / answers...

1. You're better off posting in the book's own forum: http://p2p.wrox.com/book-beginning-a...0-18759-3-389/ Easier to get my attention that way, and easier for future readers to find similar posts.

2. Secondly, searching that forum typically yields interesting results as well. http://www.wrox.com/WileyCDA/Section...ge&showposts=0

This takes you here:

Problem with page 120
and here
Chapter 4: Page 120 - Property value not valid.
and here:
Issues with Chapter 6

Each giving the same answer with a pointer to the errata: it's an issue with the font in the book. It's not 1st as in first, but lst as in lst. Also, it's lbl as in Label, not 1bl as in whatever you thought that was.... ;-)

To avoid running into other issues that have been reported before: check out the errata: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html

Cheers,

Imar
---------------------------------------------------------------------------------------------------------------------
Imar Spaanjaars
Web: Imar.Spaanjaars.Com Twitter: ImarSpaanjaars

Author of Beginning ASP.NET 4 : in C# and VB | Beginning ASP.NET 3.5 : in C# and VB | ASP.NET 2.0 Instant Results.
While typing this post, I was listening to: Babel by Massive Attack (From the album: Heligoland) What's This?
  #3 (permalink)  
Old February 9th, 2010, 04:21 PM
Authorized User
 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Imar

Sorry about that I should have checked to see if there was a section for this book, thanks for taking the time to answer my query, Iam finding the book very useful thanks.

Rob
  #4 (permalink)  
Old February 9th, 2010, 04:28 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Don't worry about it. You don't "have" to check, but it just makes things a lot quicker for you.... ;-)


Good luck; glad you like the book and feel free to post in the book's forum when you have questions.

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!
  #5 (permalink)  
Old February 9th, 2010, 04:28 PM
Authorized User
 
Join Date: Dec 2009
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Will do thanks again!
 


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
Overlapping id's problem Gert SQL Server 2005 4 May 26th, 2006 03:55 AM
Underscores in ID's?????? matallen XSLT 0 March 6th, 2006 02:04 PM
Recording User ID's Figgis Access 3 October 17th, 2005 01:18 PM
Doing addition on Unique Id's ravik@olemiss.edu XSLT 1 August 1st, 2005 02:45 PM



All times are GMT -4. The time now is 01:38 AM.


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