Set focus back to the proper textbox after autopostback function (Page.SetFocus doesn't solve the issue)
问题 Now, this MAY look a duplicate, but it's not. Every solution on the internet shows you how to get focus on the textbox that fired the event. But what if the user presses tab? The textbox that should have focus is the next one. So we do a workaround and focus on the textbox that have TabIndex higher than the one that fired the event. But then what if the user presses Shift+tab? Even worse: what if the user clicks on another random textbox? This is the issue. I don't think a code is required