troubleshooting Question

ASP.NET/VB - Call method on key press - Need Smart One

Avatar of sbornstein2
sbornstein2 asked on
11 Comments1 Solution850 ViewsLast Modified:
Hello all,

I need to call a save function in my code behind when the user hits the Page Down key on the key board.  I already have the trapped key press event in javascript on my form.  I tried using a __dopostback and event argument but its throwing a script error everytime.  I don't want to worry about security settings on the user browser and I have to use the key press event unfortunately.  Any idea how I can do it?  The ascii key number is 34 so I have that ready to go I just need to know how to call my code behind method.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros