By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,474 Members | 1,522 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,474 IT Pros & Developers. It's quick & easy.

modal pop up on clicking the drop down

P: 6

I have a page where i have some drop downs whose defalut value is set to "All". unlike the other cases where, when we click on the drop down arrow we get a list items to select. Clicking on the items and getting a pop up is easier.

But Now my requirement is on click of this drop down arrow a pop up extender(Ajax) has to be opened. There should not be any list items below as in the normal case.

please see the image in the attachment. Please let me know how this can be done.

Thanks in Advance
Jun 4 '09 #1
Share this Question
Share on Google+
5 Replies

Expert Mod 15k+
P: 31,709
I read this a few times and I'm still confused. Are you asking if a dropdown (ComboBox control) can be made to show its contents above, rather than below, the originally visible part of the control, when activated?
Jun 4 '09 #2

Expert 2.5K+
P: 3,532
You and me both, NeoPa! Some Googling indicates that this has nothing to do with Access(there's a surprise) but rather that an AJAX popup extender is an ASP.Net device. As I understand it, it works similarly to double-clicking on a control, in Access, and having a secondary form popup with additional information. I cannot imagine how doing this with a combobox would be appropriate, unless you're using the selection to go to a specific record in a secondary popup form. But the OP sounds as if he wants the popup form to be triggered without anything actually being selected from the combobox.

Linq ;0)>
Jun 5 '09 #3

Expert Mod 15k+
P: 31,709
Thanks for that Linq. Sometimes it's nice to know that it's not just me ;)
Jun 5 '09 #4

P: 675
This is the same question as and responded to by ChipR.

I think what the OP is wanting here would be a lot of effort in Access/VBA. However, it would certainly present a very user-friendly form. I did a Google search, and found an example of a textbox asking for a date-of-birth. When that control gets focus, a calendar control appears next to the textbox. User may now either type the date directly into the textbox, or use the mouse and the calendar to enter the date. User's choice, not the developer's. I like it.

The triggers for such a control might be GotFocus, Change, MouseOver, Click, or DoubleClick. If these extender controls were modal, user would be forced to use them. If not modal, then keeping track of them and removing them from the screen would be difficult.

Linq - I like the idea of doubleclicking a combobox. I have a cascading combobox set of birding locations, Country->State->County->Location that does not contain all possibilities in the world, or even in my home county. Double-clicking an entry in any combobox brings up a popup with further details. Location details include Description, Driving Directions, Amenities, Cost, & Comments. Popups have editing capibilities, but not Add. DoubleClicking an empty combobox allows additions. Not-in-List is a typo 99% of the time, and so is not used as 'add to list'. I also double-click comboboxes to change the sort order of some longer comboboxes from alphabetic to 'Last Used' order.
Jun 6 '09 #5

Expert Mod 15k+
P: 31,709
Thanks for spotting that OB.

It probably doesn't matter so much now as the OP seems to have forgotten / ignored all responses anyway, but I'll deal with it anyway.

Jun 6 '09 #6

Post your reply

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