.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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -