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.comwww.prenia.comWeblog: blogs.prenia.com/cathi