Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tricky OnExit and SetFocus problem.
#4
The problem the way I see it is the whole concept. In Windows it is not recommended that you forbid an user to leave a control (yes, I know that people do it nevertheless). The problem is worse when you deal with the browser because the onBlur event in a browser doesn't happen exactly as OnExit on Windows.

Instead of trapping the cursor inside the edit box, it is better to give the user other visual indication that they need to fix something, like filling that edit box.

WebApplication.ShowNotification() method is great for it. You should try it out. It gives the user a highly visible feedback but doesn't interrupt their workflow at all.
Reply


Messages In This Thread
RE: Tricky OnExit and SetFocus problem. - by Alexandre Machado - 01-31-2020, 02:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)