Is there any way to determine which control has the focus in the codebehind?

J

José Joye

Hello,

I need to determine which control has the focus in my page_load. Is there a
way to do so.
I have found lots of sample explaining how to set the focus (using
javascript). but no info explaining how to determine how to determine who
has the focus (or a .HasFocus() method).

Thanks,
José
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top