Results 1 to 2 of 2

Thread: MaintainScrollPositionOnPostback problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2021
    Posts
    10

    MaintainScrollPositionOnPostback problem

    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?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,257

    Re: MaintainScrollPositionOnPostback problem

    That certainly looks and sounds like ASP.NET, so I have moved the thread. If that isn't correct, you can either report the thread, or send one of the moderators a PM.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width