Here is how to set focus in a user control. I used it in an update panel.
ScriptManager.GetCurrent(this.Page).SetFocus(txtTarget);
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
Showing posts with label C# focus. Show all posts
Showing posts with label C# focus. Show all posts
Thursday, March 20, 2008
Subscribe to:
Posts (Atom)