473,321 Members | 1,778 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,321 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 2926
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.