Link to home
Start Free TrialLog in
Avatar of MarcusKoch
MarcusKoch

asked on

ASP.NET: How to detect lost focus in user control

Is there a way to detect lost focus of a user control? I have 5 user controls in an AJAX Tab Container. One for each tab panel. I want to save the data of each panel as soon as it looses focus. My workaround so far is to catch the ActiveTabChange event and the Click events of the buttons that are on each panel for extra navigation forward and backwars in the tabs. I would like to catch the loosing of the focus on each user control, e.g. if another programm is selected, or a click on any other element on the parent page is done. So in general who can i detect when a user control loses focus?

Marcus
ASKER CERTIFIED SOLUTION
Avatar of Muhammad Ousama Ghazali
Muhammad Ousama Ghazali
Flag of Saudi Arabia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MarcusKoch
MarcusKoch

ASKER

I will try this tomorrow and get back with the results.

Marcus
I finally changed the user interface.