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

  1. #1

    Default Re: Page scrolling

    Yes,

    for example see:
    [url]http://www.aspalliance.com/aldotnet/examples/dgautoscroll.aspx[/url]

    --
    Teemu Keiski
    MCP, Designer/Developer
    Mansoft tietotekniikka Oy
    [url]http://www.mansoft.fi[/url]

    AspInsiders Member, [url]www.aspinsiders.com[/url]
    ASP.NET Forums Moderator, [url]www.asp.net[/url]
    AspAlliance Columnist, [url]www.aspalliance.com[/url]

    "Noor" <noor1707@yahoo.co.uk> wrote in message
    news:0ec901c35136$f81f98d0$a501280a@phx.gbl...
    > I have a datagrid control which has a template column
    > having a radiolistbox with 2 options - Yes and No. I have
    > set the AutoPostback property for the radiolistbox to true
    > as I want to handle certain events when the user selects
    > an option. My datagrid has a lot of items and so my web
    > page has a scroll bar. When I scroll down the page to
    > select the yes/no options, on click of the option button
    > because a postback occurs, the position of the scroll bar
    > is not retained. Can this be controlled programatically
    > with an aim to retain the position of the scrollbar?

    Teemu Keiski Guest

  2. Similar Questions and Discussions

    1. Scrolling a page inside an iframe
      I created an iframe, it has a .html page in it, let's call it content.html for example I also create a button outside this iframe, so in my main...
    2. Page and Form Scrolling Problems
      Hi, i have a list of results in a table at the top of my html page. I then have a form below it which has textfields etc.I want the page to...
    3. Scrolling News in web page?
      Hi everyone, I need to have scrolling news in my web page. I have the link to get info: http://rss.cnn.com/rss/cnn_topstories.rss and also I...
    4. displaying page numbers when scrolling
      When I first installed Acrobat and scrolled some document in it, moving along the scroll bar using the mouse cursor (dragging the scroll bar down, so...
    5. Scrolling through my controls on a page
      I created a custom web control and placed a couple instances on an aspx page. The idea is that the user needs to make a selection in each control...
  3. #2

    Default Re: Page scrolling

    Hi Noor,

    Try setting the Web form's smartNavigation property
    ([url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html[/url]
    /frlrfsystemwebuipageclasssmartnavigationtopic.asp) to true.

    --
    Ray Dixon - Microsoft MVP
    [email]ray@NOSPAM.greeble.com[/email]
    (remove NOSPAM. from my e-mail address for a direct reply)



    "Noor" <noor1707@yahoo.co.uk> wrote in message
    news:0ec901c35136$f81f98d0$a501280a@phx.gbl...
    > I have a datagrid control which has a template column
    > having a radiolistbox with 2 options - Yes and No. I have
    > set the AutoPostback property for the radiolistbox to true
    > as I want to handle certain events when the user selects
    > an option. My datagrid has a lot of items and so my web
    > page has a scroll bar. When I scroll down the page to
    > select the yes/no options, on click of the option button
    > because a postback occurs, the position of the scroll bar
    > is not retained. Can this be controlled programatically
    > with an aim to retain the position of the scrollbar?

    Ray Dixon [MVP] Guest

  4. #3

    Default Re: Page scrolling

    Hi Ray,
    Thanks for the reply.
    I tried setting the property to true. This does indeed
    stop the page from scrolling, but when I select the option
    button, the stylesheet formatting is removed. My page
    inherits from a base class which has a stylesheet applied
    to it.
    Any suggestions as to what to do?
    Noor.
    >-----Original Message-----
    >Hi Noor,
    >
    >Try setting the Web form's smartNavigation property
    >([url]http://msdn.microsoft.com/library/default.asp?[/url]
    url=/library/en-us/cpref/html
    >/frlrfsystemwebuipageclasssmartnavigationtopic.asp) to
    true.
    >
    >--
    >Ray Dixon - Microsoft MVP
    >ray@NOSPAM.greeble.com
    >(remove NOSPAM. from my e-mail address for a direct reply)
    >
    >
    >
    >"Noor" <noor1707@yahoo.co.uk> wrote in message
    >news:0ec901c35136$f81f98d0$a501280a@phx.gbl...
    >> I have a datagrid control which has a template column
    >> having a radiolistbox with 2 options - Yes and No. I
    have
    >> set the AutoPostback property for the radiolistbox to
    true
    >> as I want to handle certain events when the user selects
    >> an option. My datagrid has a lot of items and so my web
    >> page has a scroll bar. When I scroll down the page to
    >> select the yes/no options, on click of the option button
    >> because a postback occurs, the position of the scroll
    bar
    >> is not retained. Can this be controlled programatically
    >> with an aim to retain the position of the scrollbar?
    Noor 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