CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums



Zone: > Asp.Net Forum > asp.net_ajax.asp.net_ajax_discussion_and_suggestions Tags:
Item Type: Date Entered: 3/22/2006 6:40:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 17 Views: 2700 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
18 Items, 1 Pages |< << Go >> >|
"arsen.yeremin"
NewsGroup User
AutoCompleteExtender as DropDownList3/22/2006 6:40:41 PM

0

One way to add a vertical scrollbar to an AutoCompleteExtender is to set the DropDownPanelID property to the id of an <asp:Panel>

<atlas:AutoCompleteExtender
ID="AutoCompleteExtender1"
runat="server"
DropDownPanelID="Panel1"
>
<asp:Panel
ID="Panel1"
runat="server"
Height="50px"
Width="125px"
ScrollBars="Vertical">
</asp:Panel>

The resulting effect is something that looks like an Editable DropDownList. There are 2 problems with the functionality.
1. When the keyboard is used to select the desired item from the list, the user is not able to see all the items because the are out of view.
2. When the user tires to use the mouse to scroll the desired item in to view, the list disappears.

Anyone have a workaround for this?

Arsen Yeremin
NBNUG Co-Founder
The North Bay .NET Users Group
http://nbnug.com

"ScottGu" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList3/24/2006 2:40:28 AM

0

Hi Arsen,

One of the controls we are looking at possibly putting out as a sample is a combo-box like control similar to what you are after (where it is both a drop-downlist and can be auto-selected).  We don't have it yet, but it is on our radar of things to potentially add.

Hope this helps,

Scott

"MarcoPio" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList3/24/2006 4:13:50 AM

0

Hi Scott,

We have a symilar need to use an actal DropDownList with Autocomplete in Atlas. My requirement is to have the user select a value like the Autocomplete and return the ID of the record and show the name value.

Please, please, please add a DropDownList control Autocomplete for Atlas.

Thanks.


Peace in Christ
Marco Napoli
http://www.ourlovingmother.org
"edmund" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList3/24/2006 2:26:38 PM

0

I add my request for that.

Having the dropdown auto complete so one can return the id (hence, easy link to a database table) is a highly requested need.

edmund

"MBrookfield" <
NewsGroup User
Re: AutoCompleteExtender as DropDownList4/28/2006 3:40:24 PM

0

Count me in on that one too!
"esbenr" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList5/24/2006 1:45:53 PM

0

I've been looking for that too. - A dropdown with autocomplete.

Telerik has made that kind of control (RAD ComboBox), but it has a few but fatal errors. S? i hope the Atlas team will add the Auto Complete Dropdown Box soon.

"T-Bone" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList6/6/2006 2:32:20 PM

0

Me too!!!
"tristianfernan
NewsGroup User
Re: AutoCompleteExtender as DropDownList6/19/2006 4:01:44 PM

0

What about his problem with the view panel?  I have the same issue where the suggestive listing doesn't show all the text.  I set the auto complete extender to display in a panel that I set the width on, but the content is still trimmed. 

Thanks

Tristian

"ScottGu" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList6/20/2006 2:51:03 AM

0

Hi Tristian,

I'd recommend checking out the PopupControl in the Atlas Control Toolkit here: http://atlas.asp.net/atlastoolkit/PopupControl/PopupControl.aspx

It allows you to display a panel with contents of your choice.  Checkout the second sample on the above url that shows how to use a radiobuttonlist for picking selections.

Hope this helps,

Scott

"MBrookfield" <
NewsGroup User
Re: AutoCompleteExtender as DropDownList7/6/2006 2:42:33 PM

0

Hi Rob,

The problem with the PoupControl is that it only works within a MasterPage/Placeholder framework. Trying to use a traditional Web Application approach disables the Popups ability to extract the correct UniqueID. (See: http://forums.asp.net/thread/1333395.aspx ). The problem with limiting to the MasterPage approach is that say you have multiple layer of embedded controls; used instead of pages. Part of the charm of Atlas would be the ability to hide or show those controls without a postback.

 

"MBrookfield" <
NewsGroup User
Re: AutoCompleteExtender as DropDownList7/6/2006 2:44:03 PM

0

Sorry!!! I meant; "Hi Scott". Many apologies.

"rchern13" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList7/6/2006 3:35:45 PM

0

The following may interest you (or if not, don't yell Wink).  I wrote the following so that I could store the value associated with the text in a database.  Although I have not used it with a dropdown, you should be able to.  You could specify the ResultsContainer to be a dropdown, and with the ItemCreated event, you could return a list node.  I'm curious as to what you think?  Perhaps I'll test it with a dropdown before posting it...

http://forums.asp.net/thread/1334054.aspx


HTH, rchern13.

Please mark threads as "Resolved" when they become so. Please choose "Mark as Answer" for the post that leads you to a solution.
"MBrookfield" <
NewsGroup User
Re: AutoCompleteExtender as DropDownList7/7/2006 2:02:02 AM

0

Thanks to David Anson, found solution to the MasterPage/Placeholder problem I was having with the PopupControl. Contrary to my above post, with the correct settings it works fine within a standalone page. Given that, ScottGu's Post above indeed seems like a great solution.

"mking" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList7/10/2006 5:44:27 PM

0

I think an atlas autocomplete combo-box would be very useful.  I think this would be used more often than the autocomplete textbox.

So I'm trying to build a user control to have this functionality - autocompleted text plus ID.  The user control has a textbox with an atlas:AutoCompleteExtender.  It also contains a hidden field to hold the ID.  In the textbox.onblur event, I make an additional ajax call to retrieve the ID value of the text in the textbox.

One hurdle I'm facing is the lack of ability to specify additional filter criteria.  For example, this particular user control is used to lookup users of my system.  I'd like to drop the control onto all the pages requiring the selection of a user.  In some cases, I'd like to filter to results to be only Administrators, or only users from a particular State, etc.  I'm not sure of the best way to get this additional criteria to the web service, since it only takes the one "prefixText" parameter.

Am I going about this the wrong way?

 

"edmund" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList9/21/2006 4:38:32 PM

0

I cannot see how Scott's idea allows for an AutoComplete behaviour.

I am seeking an AutoCompleteExtender that does not allow for non-listed selections.

Edmund

"masha_esh" <>
NewsGroup User
Re: AutoCompleteExtender as DropDownList11/4/2006 4:45:16 AM

0

If u've found one please inform me! thanx
"warry" <>
NewsGroup User
Would be absolutely great if this worked with the cascading dropdowns!11/4/2006 1:11:53 PM

0

This would be so great if this (typeable combobox support) is  supported on cascading dropdowns also..

Imagine the demo cars-example...

if you choose 'Ford' for example, there would be A LOT of models to load in the model-dropdown.. It is just no do-able to show all ford-models in the dropdown for performance and for the user..

It would be super if the user could type 'GT' and the list narrowed down to the GT40 models for example.. still not allowing the user to select a value which is not in the list!

 You have my blessing!

"warry" <>
NewsGroup User
Re: Would be absolutely great if this worked with the cascading dropdowns!11/4/2006 1:15:34 PM

0

just a sidenote:

currently I have accomplished this with the Autosuggestbox of (www.autosuggestbox.com) with some custom code in the javascript.

 

18 Items, 1 Pages |< << Go >> >|



Free Download:






   
  Privacy | Contact Us
All Times Are GMT