473,503 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ComboBox closes up after filling

1 New Member
In a C# dot net app:
In the drop down event of the combo box, if the count is <1 I populate the list from a database. But then the combo closes up and the user has to click the down arrow again. I see the list flash, but then it closes up.

It is loading 2300 aggregated records so it does take a little while.

I am using the Begin/End Update methods while filling.

after the first drop down, it is fine.

Thanks,
Mike
Jul 3 '10 #1
2 1377
fastestindian
74 New Member
Pls give the code..
Aug 10 '10 #2
GaryTexmo
1,501 Recognized Expert Top Contributor
That's odd that it closes after it's populating, I've never tried. I agree with fastestindian, lets see some code :D

However, there is a way to programatically specify that a combo box should be in the dropped down state. It's the DroppedDown property; set it to true.
Aug 10 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3158
by: James | last post by:
I'm totally new to C++ and when I try to execute the simple program I have written, it closes the console application as soon as it has finished excuting. This obviously means I cannot see the...
2
9154
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the...
1
1597
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the...
1
1272
by: novice_in_ny | last post by:
I have a simple form that takes in a UPC code of an item and after I enter the record, I would like to do an inner join to get a couple of fields from another table that is joined on the UPC code...
0
2214
by: sixths3ns3 | last post by:
My DataGridView has two columns. Combobox Column 2 displays list based on Combobox Column 1 selected value. The code below works fine when I select a value on Column 1, and select a value on Column...
1
2251
by: Bob | last post by:
Hello folks! I have a form and when users fill in the form they normally fill in a simple text box. But when they can add several items...such as people on a project, I use a pop up form and...
1
1572
by: sakee123 | last post by:
hi.. i have a html form in which i have three textboxes and a submit button.. after filling three textboxes in a form the submit button should be enabled. prior to which it should be disabled.....
1
1826
by: hpandya | last post by:
hi All, I want to display an alert message that closes after 3 seconds automatically Is there a way to do this?? Please help!! Thanks
4
1874
by: sreemathy2000 | last post by:
I have a vague problem.. Inmy windows application in c#, i'm opening a child window from from my main window thru the show method. I have few events on the child window. After my button click...
0
878
by: =?Utf-8?B?c2Nvb3Q=?= | last post by:
I have a new install of FSX Deluxe that seems to run properly but once I fly a mission and hit Esc then click on End Mission, FSX seems to close and I have to relaunch it again as if starting a new...
0
7278
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
7328
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...
1
6988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7456
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
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
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.