Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.1 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 September 8th, 2005, 06:15 PM
Registered User
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is this a typo ?

Hi;

I could not get the code on page 88 past intellisense.

The section starting with <asp:radiobuttonlist>
  instead of the lines:

  <asp:listItem id="optMadrid" runat="server" value="Madrid" />
  <asp:listItem id="optOslo" runat="server" value="Oslo" />
  <asp:listItem id="optLisbon" runat="server" value="Lisbon" />



 I found Visual Studio liked this line better:

  <asp:listItem> Madrid </asp:listItem>

 Is this a typo or just the difference between Visual Studio and
 Web Matrix ?

 Now the code works correctly.

 Gmann




 
Old September 18th, 2005, 03:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Gmann,

I think it's a typo as a ListItem does not have a separate Id or RunAt attribute: http://msdn.microsoft.com/library/de...asp?frame=true

It does have a value attribute though, if you want the value to differ from the text between the tags.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Jesus Loves Amerika (Fundamental) by The Shamen (Track 6 from the album: In Gorbachev We Trust) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible typo on page 230 WebDNA BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 0 October 15th, 2008 11:12 AM
Typo arif ahmed BOOK Beginning Linux Programming, 3rd Edition 1 August 25th, 2006 10:26 AM
Chapter 4 typo mixtli BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 June 7th, 2003 06:30 PM





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