I suspect, rather, that Imstac is talking about a DropDownList (DDL),
as opposed to a ComboBox (common Web v/s Windows confusion). Imstac,
it is entirely your responsibility as the asker to specify the
platform and type of application you are working on and also to use
correct terminology when formulating a question. Finally, it is
incumbent upon you to do some deduction when someone answers your
question. If I had been in your place, I would've looked up the
"DropDownStyle" property that Glenn mentioned and immediately found
that it belongs to the ComboBox control (Windows apps). I then
would've deduced that Glenn has mistaken my meaning. That would have
been a more helpful response than "I don't see any such property".

To answer your question,
This kind of functionality is usually implemented by having a first
entry in the DDL such as "-- Select One --". This entry usually has a
value such as "0", which you can check for when the page submits (or
using a Validator control to prevent page submission, altogether).
This way, you have a workaround for the default selection problem as
well as being able to allow no selection in the field (turn off
validation).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to