473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

DropDownList: MaxDropDownItems ???

Is there any way to set the maximum number of items of a DropDownList
when dropped down? I tried but could not find out how to do that.

Thanks

Kimon

Feb 9 '06 #1
3 3804
Kimon,

You mean how many are displayed? Set the drop down list's height.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Kimon Ifantidis" <Ki************@discussions.microsoft.com> wrote in
message news:6E**********************************@microsof t.com...
Is there any way to set the maximum number of items of a DropDownList
when dropped down? I tried but could not find out how to do that.

Thanks

Kimon

Feb 9 '06 #2
No, it's not the height. I mean a property like the MaxDropDownItems of a
combobox. It's not the height of the control, but the maximum number of items
when the DropDownList is dropped down. There is no such a property for the
DropDownList. How to do that?

"S. Justin Gengo [MCP]" wrote:
Kimon,

You mean how many are displayed? Set the drop down list's height.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Kimon Ifantidis" <Ki************@discussions.microsoft.com> wrote in
message news:6E**********************************@microsof t.com...
Is there any way to set the maximum number of items of a DropDownList
when dropped down? I tried but could not find out how to do that.

Thanks

Kimon


Feb 9 '06 #3
Kimon,

Windows Forms have a MaxDropDownItems property that can be set. But on the
web side I don't think you can do this. I think you'd have to create your
own control using a text box and <div> tags to create your drop down below
the text box.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Kimon Ifantidis" <Ki************@discussions.microsoft.com> wrote in
message news:92**********************************@microsof t.com...
No, it's not the height. I mean a property like the MaxDropDownItems of a
combobox. It's not the height of the control, but the maximum number of
items
when the DropDownList is dropped down. There is no such a property for the
DropDownList. How to do that?

"S. Justin Gengo [MCP]" wrote:
Kimon,

You mean how many are displayed? Set the drop down list's height.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Kimon Ifantidis" <Ki************@discussions.microsoft.com> wrote in
message news:6E**********************************@microsof t.com...
> Is there any way to set the maximum number of items of a DropDownList
> when dropped down? I tried but could not find out how to do that.
>
> Thanks
>
> Kimon
>


Feb 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Stanley J Mroczek | last post by:
How do you load a dropdownlist when edit is clicked in a datagrid ? <Columns> <asp:BoundColumn DataField="OptionDescription" ItemStyle-Wrap="True" HeaderText="Option...
2
by: Dominic | last post by:
Hi guys, I'm not sure if this question belongs to FAQ, but I couldn't find a concrete answer. I created a Datagrid control using ItemTemplate, but it's NOT a in-place editing datagrid. One of...
2
by: Shiju Poyilil | last post by:
Hello, I have a datagrid with only one row and its having 2 dropdownlists, I need to populate the secodn dropdownlist on the basis of the selection in the first dropdown. but I am not able to...
10
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a...
5
by: Guedj54 | last post by:
Is it possible to display more than 11 items ( without having to scroll down ) in an dropdownlist. Thanks S
15
by: glenn | last post by:
Hi folks, I have a DropDownList in a DataGrid that is populated from records in a database. I want to add a value that might be a string such as "Select a Company" for the first item since an...
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
0
by: asmx126453 | last post by:
Hey mensen I am having some big troubles here i tryd solving it myself with internet for 2 days but i kind fix it. Its about this i have a DotNet project that alrydi is online and working for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.