473,387 Members | 1,863 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,387 software developers and data experts.

Expand drop down list

Hello Experts,

I have a drop down list web control in one of my page. Currently if I
want to expand the drop down list to show all items, I must click on the
down-arrow sign on the right hand side of the drop down list. The
question is what are the codes to make it expand to show all items
automatically when it is selected?
Thanks,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
4 2933
Benny wrote:
Hello Experts,

I have a drop down list web control in one of my page. Currently if I
want to expand the drop down list to show all items, I must click on
the down-arrow sign on the right hand side of the drop down list. The
question is what are the codes to make it expand to show all items
automatically when it is selected?
Thanks,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Hi Benny,

I have not tested this but...

What you could possibly do is use p/invoke to send a CB_SHOWDROPDOWN
message to the combobox.

Rgds Tim.
Nov 16 '05 #2
Tim Jarvis wrote:

Hi Benny,

I have not tested this but...

What you could possibly do is use p/invoke to send a CB_SHOWDROPDOWN
message to the combobox.

Rgds Tim.


Actually Benny, I have just realised that this is a web control you are
talking about, I have no idea if what I suggested will work (in fact I
suspect no)

Sorry.

Rgds Tim.
Nov 16 '05 #3
Benny wrote:
Hello Experts,

I have a drop down list web control in one of my page. Currently if I
want to expand the drop down list to show all items, I must click on
the down-arrow sign on the right hand side of the drop down list. The
question is what are the codes to make it expand to show all items
automatically when it is selected?
Thanks,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Hi Benny,

I have not tested this but...

What you could possibly do is use p/invoke to send a CB_SHOWDROPDOWN
message to the combobox.

Rgds Tim.
Nov 16 '05 #4
Tim Jarvis wrote:

Hi Benny,

I have not tested this but...

What you could possibly do is use p/invoke to send a CB_SHOWDROPDOWN
message to the combobox.

Rgds Tim.


Actually Benny, I have just realised that this is a web control you are
talking about, I have no idea if what I suggested will work (in fact I
suspect no)

Sorry.

Rgds Tim.
Nov 16 '05 #5

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

Similar topics

1
by: James Hurrell | last post by:
Hi, I'm using the following javascript function to expand and collapse portions of text in a web page (targeted at IE5.5 and above): function doExpand(paraNum,arrowNum) { if...
0
by: Murugavel | last post by:
Hi all, When we click the any DropDown list,the list of items appeared under the dropdown box.i want to expand the size of list showed by the dropdown without changing the DropDown Control...
2
by: Benny | last post by:
Hello Experts, I have a drop down list web control in one of my page. Currently if I want to expand the drop down list to show all items, I must click on the down-arrow sign on the right hand...
2
by: Steve | last post by:
I have a combo box that I would like to expand or "drop down" programmatically. The Simple style won't work because I still need the control to contract or "roll up" after a selection is made, I...
3
by: Don Wash | last post by:
Hi There! I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to widen the Drop down box's Pull-Down list's width? I'm not talking about the Drop-down box's width but the box...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
3
by: penny111 | last post by:
Hi there, For my application, i need to have 3 drop down lists 1. drop down list of folder names 2. drop down list of documents in the folder selected 3. drop down list of instances of the...
4
by: magmike | last post by:
I've got a control on my form that allows the user to select a record based on a form field (in this example, the drop down menu shows the company name, followed by the contact name but uses the...
3
by: Simon van Beek | last post by:
Dear reader, What can be wrong in my ComboBox, the property "Auto Expand" is set to Yes, but by typing in the ComboBox it doesn't expand. Is this because the source of the ComboBox is a...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.