Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15543

MaintainScrollPositionOnPostback problem

$
0
0
VB.net newbie here. I have an older .NET 2.0 application that I am upgrading to .NET 4.0.

The application has a few drop-down lists with AutoPostBack = true. Now, in the 4.0 version, when you select an item, the focus jumps to the top of the page where it should set focus to the next field.

I fixed the jumping by adding the following to the @Page declaration:

Code:

MaintainScrollPositionOnPostback="true"
The focus, however, now stays at the drop down list after selection. How can I advance the focus to the next field in the TabIndex sequence?

Viewing all articles
Browse latest Browse all 15543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>