1

How can I "listen" for the focus lost event of a textbox in a .NET web form? Is the only way using OnBlur in combination with JavaScript?

Thanks :-)

grady
  • 12,281
  • 28
  • 71
  • 110

1 Answers1

0

"Is the only way using OnBlur in combination with JavaScript?"

Yes

If the Text was changed you can also use the TextChanged-event(when AutoPostBack="True").

This SO-Question describes how to customize a Textbox to raise a FocusLost-Event on serverside.

Community
  • 1
  • 1
Tim Schmelter
  • 450,073
  • 74
  • 686
  • 939