The person developed by ASP.NET is very headache to the page of the server-side control event! I take the way to solve the problem and share it with you. The idea is the event to perform the script script, let the page automatically scroll to the control before refreshing the page, reduce the inconvenience caused by the page refresh. For example, after pressing a button, the script will automatically scroll the page to this button. Write the script of the script with a class of ScriptHelper to get, this class has a method of getViewControlScript (String ControlName), which returns a script of a client, the incoming parameter is the ID of this control. Scripthelper class code: ///