D
deane_gavin
I'm developing a simple ASP.Net web page in Visual Web Developer 2005
Express. I know in my VB.Net code I can call the SetFocus method of my
page to set the focus to any control. But is there a way of determining
which web control currently has the focus? GetFocus would seem a nice
choice for the name but it doesn't exist.
I've scoured the .Net Framework Class Library documentation and the
internet and I've not found any way of doing what I want. Of course,
it's always possible I've missed something obvious.
I think the question is simple enough that the above makes it clear
(without, e.g., code examples) but if that's not enough information,
please let me know what clarification is needed.
Gavin Deane
Express. I know in my VB.Net code I can call the SetFocus method of my
page to set the focus to any control. But is there a way of determining
which web control currently has the focus? GetFocus would seem a nice
choice for the name but it doesn't exist.
I've scoured the .Net Framework Class Library documentation and the
internet and I've not found any way of doing what I want. Of course,
it's always possible I've missed something obvious.
I think the question is simple enough that the above makes it clear
(without, e.g., code examples) but if that's not enough information,
please let me know what clarification is needed.
Gavin Deane