Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

how to restrict the appearance of dropdown list

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sarellaravi@gmail.com - 13 Aug 2007 14:59 GMT
In my dropdown list there are 70 items. when I select the dropdownlist
I am able to view 35 items in a single view. But I want to restrict
the no.of items to 10 when I select dropdownlist.
Please help me out
Larry Bud - 13 Aug 2007 19:26 GMT
On Aug 13, 9:59 am, sarellar...@gmail.com wrote:
> In my dropdown list there are 70 items. when I select the dropdownlist
> I am able to view 35 items in a single view. But I want to restrict
> the no.of items to 10 when I select dropdownlist.
> Please help me out

I don't believe you can.  It's up to the browser on how to render the
size of it.  Why would you want to limit it?
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 13 Aug 2007 23:40 GMT
You could try using an HTML Select control instead of the Web DropDownList
control.
Then set the select's Size property to 10.

Signature

I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

> In my dropdown list there are 70 items. when I select the dropdownlist
> I am able to view 35 items in a single view. But I want to restrict
> the no.of items to 10 when I select dropdownlist.
> Please help me out

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.