Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MaintainScrollPositionOnPostback on UpdatePanel

MaintainScrollPositionOnPostback on UpdatePanel

Scheduled Pinned Locked Moved C#
csharpasp-nethelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vkEE
    wrote on last edited by
    #1

    Hello All, I have an ASP.Net label error message set at the top of the page. And for some reason MaintainScrollPositionOnPostback = false is not working. I would like the page to scroll back to top, so users can see this error message. It does not scroll to the top, and maintains its existing position, leaving the user to keep clicking submit button. I have tried this: Specified on the code behind of asp.net user control: Page.MaintainScrollPositionOnPostBack = false; It does not scroll back to top of the page, as i would like it to so the user can read the message at the top of the page. am I missing anything? Thanks!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups