|
-
Jan 18th, 2005, 02:39 PM
#7
Thread Starter
Addicted Member
Re: Perform action when user presses <Enter> on keyboard.
Okay, i found the solution, by searching the internet.
Simply put this line of code in your OnLoad event in your code-behind:
Page.RegisterHiddenField("__EVENTTARGET", "btnSearch")
and voila it works.
Thanks again everyone for helping me out.
Here is the page i found the solution on:
http://www.developer.com/net/asp/article.php/1594521
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|