Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 12th, 2004, 12:34 PM
Authorized User
 
Join Date: Jun 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dropdownlist questions

Hello,

I have 2 questions:

I have a dropdownlist bind to a particular view from a database. The view has about 400 records.

 Is it possible to have a dropdownlist with autocomplete, like you have in comboxes? How do I let the user to put text in this dropdownlist?

I need to find a solution for this and I'll appreciate any help from you.

Thanks,


Elisa Resina
__________________
Elisa Resina
 
Old November 13th, 2004, 07:15 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There is no such control in HTML. There may be some third party controls that use DHTML to display something that functions like a windows combo box.
 
Old November 15th, 2004, 05:05 AM
Authorized User
 
Join Date: Jun 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So, In this situation, what are the possibilities to make the search in the dropdownlist "friendly" to the user? Because find a record in 400 is hard to do... what kind of another controls may I use or is there any other way to code it?

thanks again for your help,



Elisa Resina
 
Old November 15th, 2004, 04:45 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When I need to have a selector for a large list of items, I sometimes create a popup window (or dialog) that has a search/select page that shows the contents. This way you minimize the amount of data that has to be on the page that may be performing postbacks. You could create a readonly textbox to store the value, then put on a regular button input that brings up the search window. Return the value back to the readonly textbox.
 
Old November 16th, 2004, 10:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I understand what you mean but in this case the user has to use it several times to assign the code to a date and to an amount of time. And i need that the process of choose and assign values has to be efficient and quickly to the user. The user must not take many time to choose the right code.

Thanks

Elisa

Elisa Resina





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Interview Questions, C# Interview Questions, dotnetuncle .NET Framework 2.0 4 June 22nd, 2019 07:03 AM
two questions reverand Excel VBA 2 December 5th, 2005 06:33 AM
C# questions zhenliu C# 1 April 15th, 2004 09:18 AM
questions anshul Javascript How-To 1 April 12th, 2004 07:29 AM
many questions Frank1111 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 22nd, 2003 09:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.