Click here to Skip to main content
15,915,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All

I have a dropdown list which contains more than 50 items, when i am selecting the dropdowlist item its displaying all the items and occupying the entire page. what i want is display 10 items at a time and display next items on scrolling.

I have no idea whether it is simple or not. Please help in this issue whether ther is any alternative or do i need to set any property or style for dropdown list .

Thanks in advance if anybody can help in this issue.

M.Manikandan
Posted
Updated 18-Apr-12 4:48am
v2
Comments
bbirajdar 18-Apr-12 10:48am    
Removed contact number. No body is going to call you to solve your issue..

There are a lot of jQuery plugins that will do that. Start here.[^]
 
Share this answer
 
Comments
Kiirrii 18-Apr-12 9:03am    
how u given that link here can u tel... ryan
Nelek 18-Apr-12 17:20pm    
Open browser, go to web, copy the address and paste it here
M.Manikandan 20-Apr-12 22:46pm    
Dear All
I want Sample project please. For using dropdownlist search item.
Regards
M.Manikandan
Why not use aspnet ListBox instead? ListBox provides an auto scrollbars when the item is larger than the size of the List
Or visit this post

http://blogs.msdn.com/b/rakkimk/archive/2011/05/02/dropdownlist-html-select-vertical-scrollbar-number-of-items.aspx[^]
 
Share this answer
 
Comments
M.Manikandan 20-Apr-12 22:46pm    
I want Sample project please. For using dropdownlist search item.
Regards
M.Manikandan
It is not possible is .NET or any other platform since the dropdown rendering is controlled by the browser.

However, you can use ListBox or some workaround like this

http://blogs.msdn.com/b/rakkimk/archive/2011/05/02/dropdownlist-html-select-vertical-scrollbar-number-of-items.aspx[^]
 
Share this answer
 
Comments
ZurdoDev 18-Apr-12 9:12am    
Actually, you can. There are lots of jquery plugins that will do that.
M.Manikandan 20-Apr-12 22:47pm    
I want Sample project please. For using dropdownlist search item.
Regards
M.Manikandan

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900