Re: Losing scroll on postback

Discussion in 'ASP .Net' started by Ante Perkovic, Jun 27, 2003.

  1. Vu Dang wrote:

    > On postback, I would like the page to scroll down to show the last text box
    > on the page. Is there a way to do this? I tried to use a <a
    > name="position"> but I need a piece of javascript to make the scroll jump to
    > the anchor.


    * this.location.href = "#something" ?
    * this.location.href += "#something" ?
    * if this doesn't work, you should try to <body onload="somehow focus that
    textbox">

    HTH, Ante
     
    Ante Perkovic, Jun 27, 2003
    #1
    1. Advertising

  2. Ante Perkovic

    Vu Dang Guest

    Thanks I will try that.

    Sincerely,

    Vu Dang
     
    Vu Dang, Jun 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saravana

    Re: Losing scroll on postback

    Saravana, Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    468
    Vu Dang
    Jun 27, 2003
  2. nicholas
    Replies:
    0
    Views:
    447
    nicholas
    Dec 7, 2004
  3. Kevin
    Replies:
    1
    Views:
    9,595
    Roland
    Feb 5, 2005
  4. Sathiamoorthy

    Enable Scroll up and scroll down in CR-report

    Sathiamoorthy, Nov 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    921
    zobalee
    Nov 28, 2006
  5. Jason C
    Replies:
    4
    Views:
    701
    Morty Abzug
    Jun 26, 2012
Loading...

Share This Page