.net - Page moves to top on postback of control in updatepanel -
is an update panel on my page I have never been more postback control I have it, page scrolls back to the top the page
Why does this happen? How can I fix this?
used
I have the server to fix this issue control.focus (). For example:
Protected Sub ddlGroupsSelectedIndexChanged (object as ByVal sender, ByVal e As System.EventArgs) handles ddlGroups.SelectedIndexChanged LoadGroups () ddlGroups.Focus () End Sub I do not know that this is the best way, but it still works for me.
Comments
Post a Comment