Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good old Browse Field in VFP
Message
De
24/11/2004 19:40:56
 
 
À
24/11/2004 17:28:02
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00964530
Message ID:
00964555
Vues:
11
How is your JavaScript?

Depending on the control you use for a WebGrid, you could use JavaScript to cycle through the rows hiding them based on the entry. I am not sure if there is an event or if you can create an event which can sense the individual keystrokes.

For example, when you enter the 2, the JavaScript will cycle through the rows of the grid hiding all of the rows that do not begin with 2; then repaint the webform. When you enter the second character 3, the JavaScript will cycle through again hiding all of the rows that do not begin with 23; then repaint the webform. Again when you backspace in the object it would do the reverse.

Regardless, you would need the complete set of data on the client side to perform this type of action.

Good luck!

Gordon.


>Hi all!
>
>I have to create a webapplication and it is absolutely necessary to have something like a browse field in VFP for selecting specific user input - a dropdown box with the available values is not enough.
>
>This means: The user enters 2 digits of a 4 digit number. A window or something else should be shown up containing all numbers where the first 2 digits match the entered ones and the user can choose inside the result which number to use.
>
>The only possible way I could imagine is using a button for searching these digits in an extra webform and the returning to selected value to the original webform.
>Are there any other possible ways to manage this?
>
>Thanks for help!!!
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform