none
Set focus of an element from its lost focus RRS feed

  • Question

  • For some reason focus a text box is need, so the focus is again set to the text box from its lost focus. This leads to stack over flow in the lost focus event. 

    Say,
     A Textbox and a button, now the focus is in Textbox and clicking on the button. In this case, need the focus to be in the textbox, so focus method of text box is invoked from its lost focus. This leads to stack over flow exception.

    Why this happens and also how do the focus is retained in text box itself.

    Sankar

    Wednesday, July 24, 2013 5:41 AM

Answers

All replies