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. Web Development
  3. ASP.NET
  4. Postback problem

Postback problem

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmlasp-nethelp
4 Posts 4 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.
  • E Offline
    E Offline
    Elizma
    wrote on last edited by
    #1

    Hi Everyone Dont know if someone already asked this. I am doning a page that have quite a lot of postpacks in asp.net. My question is. When I am halfway down the page and do a postback the page return back to the top. Is there a way that I can tell it to go back to the section where the postback occured? (halfway down the page). Something similar like a bookmark in html that takes you to a specific place in that document. Regards, Elizma

    D N G 3 Replies Last reply
    0
    • E Elizma

      Hi Everyone Dont know if someone already asked this. I am doning a page that have quite a lot of postpacks in asp.net. My question is. When I am halfway down the page and do a postback the page return back to the top. Is there a way that I can tell it to go back to the section where the postback occured? (halfway down the page). Something similar like a bookmark in html that takes you to a specific place in that document. Regards, Elizma

      D Offline
      D Offline
      deepaks3
      wrote on last edited by
      #2

      Hi, you can try MaintainScrollPositionOnPostback in the page section of the aspx page. Eg: <%@ Page Language="C#" ..... MaintainScrollPositionOnPostback=true .. %> Gud Luck.

      Deepak Surana

      1 Reply Last reply
      0
      • E Elizma

        Hi Everyone Dont know if someone already asked this. I am doning a page that have quite a lot of postpacks in asp.net. My question is. When I am halfway down the page and do a postback the page return back to the top. Is there a way that I can tell it to go back to the section where the postback occured? (halfway down the page). Something similar like a bookmark in html that takes you to a specific place in that document. Regards, Elizma

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        You could also look into using AJAX methods


        only two letters away from being an asset

        1 Reply Last reply
        0
        • E Elizma

          Hi Everyone Dont know if someone already asked this. I am doning a page that have quite a lot of postpacks in asp.net. My question is. When I am halfway down the page and do a postback the page return back to the top. Is there a way that I can tell it to go back to the section where the postback occured? (halfway down the page). Something similar like a bookmark in html that takes you to a specific place in that document. Regards, Elizma

          G Offline
          G Offline
          GgAben
          wrote on last edited by
          #4

          If you are using .net 1.1 use smart navigation by setting page argument smartnavigation to true. <%@Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="false" smartNavigation="True"%>

          Gg

          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