Losing scroll on postback

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Losing scroll on postback

    Check out for SmartNavigation. For more details refer this link

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]
    frlrfSystemWebUIPageClassSmartNavigationTopic.asp

    --
    Saravana
    Microsoft India Community Star,
    MCAD,SE,SD,DBA.


    "Vu Dang" <vudang@shaw.ca> wrote in message
    news:yKSKa.328549$Vi5.8426141@news1.calgary.shaw.c a...
    > Hello,
    >
    > 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.
    >
    > Sincerely,
    >
    > Vu Dang
    >
    >

    Saravana Guest

  2. Similar Questions and Discussions

    1. Losing Delegate On Postback
      I have authored a webcontrol that contains a SimpleCellCollection of SimpleCell objects. Both have custom typeconverters that handle viewstate...
    2. Losing Postback state with composite controls
      Not sure how to go about explaining this, which is never a good sign. I have a Custom UserControl I've built, which contains 1 drop-down list and...
    3. Scroll 2 text by one scroll bar?
      Is there anyway to scroll 2 text fields at the same time by using one scroll bar?
    4. Scroll text with scroll bar
      I've created a chunk of text and I want it to scroll in a window. Managed to put a scroll bar on it, but cannot figure out how to size the window and...
    5. Losing value on postback
      I have a WYSISYG server control that I have built. I am having problems getting the text out of it on post back. I have the code below to handle the...
  3. #2

    Default Re: Losing scroll on postback

    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 Guest

  4. #3

    Default Re: Losing scroll on postback

    Smart Navigation uses IFRAME. This solution is not elegant and won't work
    on Netscape

    Vu Dang


    Vu Dang Guest

  5. #4

    Default Re: Losing scroll on postback

    Thanks I will try that.

    Sincerely,

    Vu Dang


    Vu Dang Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139