Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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
 
Old February 9th, 2010, 04:12 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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?
 
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
 
Old February 9th, 2010, 04:28 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
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!





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





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