Where to use ScriptManager1.SetFocus(TextBox2); I just have the ScriptManager1.Focus() method. For us really lazy folks, you should inlcude the namespaces used as well. How do I do what you suggest? thankx Sanjeev 9/12/2005 4:05 PM REAL GOOD SOLUTIONS... https://forums.asp.net/t/1347781.aspx?+focus+not+working
However, if I try to tab to the next column, it took me to a field on the ie.browser... Thanks Fausttt 4/6/2007 10:56 AM thanks for the code. This documentation is archived and is not being maintained.
Until now this solution worked great. How To Set Focus On Textbox In Asp.net C# Reply greatranil None 0 Points 1 Post Re: ASP.Net AJAX - Cannot Set focus to a TextBox inside an Update Panel Jun 03, 2007 10:18 PM|greatranil|LINK Thanks lot I also having What I would like to do is, I have two Radiobuttons and two TextBoxes inside an update panel; When the user clicks the RadioButton1, I would like to set the focus Visit Website That is, the script added via the ClientScript object's RegisterStartupScript method is not added to the page if a partial-page postback just occurred.
Anistel 8/20/2006 11:46 PM It can't use with a user control. Asp Net Page Setfocus Public Shared Sub SetFocus(ByVal ctrl As Control) Dim sb As New StringBuilder Dim p As Control = ctrl.Parent With sb .Append("