Wrox Programmer Forums
|
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 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 Professionals 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 1st, 2008, 12:14 PM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Invisible List Item?

The Wrox Professional ASP.NET in C# and VB has a section called "Visually Removing Items from a Collection." DropDownList, ListBox, CheckBoxList and RadioButtonList capability to visually remove items from the collection displayed in the control, although you can still code with it. It reads, "If you use Enabled="False", the item is not displayed."

I am working with a RadioButtonList. I would like to code one of the items but not show it. The book sounds perfect for what I need. However, the enabled only grays it out but still visible.

It seems to me that graying out is what enable should do so I was surprised by the book explaining it this way. I know the whole RadioButtonList has a visible property that can be set to false but the individual items only have enable.

Thoughts on the book seemingly wrong here?

Thanks.







Similar Threads
Thread Thread Starter Forum Replies Last Post
List name of item from folder 'My Picture' mona_upm84 Excel VBA 2 September 4th, 2008 05:54 PM
Get the first item of a List hpox ASP.NET 2.0 Basics 1 February 16th, 2007 06:04 PM
Adding List Item Programmatically rit01 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 February 12th, 2006 04:51 PM
How to populate list item shankhan Classic ASP Databases 5 March 23rd, 2005 04:03 AM





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