Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 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 October 2nd, 2007, 10:19 AM
Authorized User
 
Join Date: Aug 2007
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default Values for DropDownLists - RESOLVED

Hey,

I am working on a relatively simple app. I Have 3 Drop down Lists (DDL). DDL1 has its content determined by a querystring in the URL. DDL2 has its content chosen by DDL1.SelectedValue, and DDL2 has its content chosen by DDL2.SelectedValue. On selection of this last option, a GridView is displayed with relevant results.

My question is, how do I get the DDL's to default to the first value? It's just that some options only have One option, this leads to me being unable to See the gridview, as currently I need to Select a second value, then click back to the first one if I wish to see the GridView.

Or can I go about it much simpler and have a Blank Entry, or a "Select Item" entry as default?
EDIT: Hehehe i'm on a roll





Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid Default Values in C# saxitalis C# 0 August 15th, 2007 03:30 PM
setting default values prithvi28 XSLT 1 October 3rd, 2006 01:38 PM
Default values in XMLSchema johnnyclock BOOK: Beginning XML 3rd Edition 0 February 3rd, 2006 06:06 PM
Default values? Raymie_C Access VBA 2 May 16th, 2005 11:48 AM
Default Values davest Access VBA 2 October 19th, 2004 05:57 AM





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