Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress Events
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00797302
Message ID:
00797326
Vues:
11
Hi Valentin,

You can set the AutoPostBack property for the textbox to true. That will cause a postback to the server when the user enters information into the textbox. You could then trap the TextChanged event that will be fired to execute your code.

>Hi,
>I am learning C# in ASP.NET and this is my first project. Can somebody tell me how I can catch a KeyPress event for server side textbox and execute, for example, submit button onClick event.
>It realy simple, I have a search screen, textbox for keyword and submit button, just want to bind this 2 things together. Please help.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform