row select page scroll

6 posts, 1 answers
  1. Mojtaba
    Mojtaba avatar
    32 posts
    Member since:
    Feb 2009

    Posted 22 Aug 2009 Link to this post

    I select a row in grid and page is scrolled to top. why?
  2. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 22 Aug 2009 Link to this post

    Hi,

    could you please be a bit more precise?
    You select a row in a RadGridView (click with the mouse or programmatically?).

    The row is selected and then....
    Your page scrolls?
    The grid uses scrolling functionality - and the grid scrolls?

    Regards

    Manfred
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mojtaba
    Mojtaba avatar
    32 posts
    Member since:
    Feb 2009

    Posted 23 Aug 2009 Link to this post

    Hi Manfred,
    I select row with mouse and when I press UP/down arrow key selected row is changed and web page  is scrolled to top.
    grid scrolling is off. I use Q1 2009.

    Thank.
  5. Mojtaba
    Mojtaba avatar
    32 posts
    Member since:
    Feb 2009

    Posted 26 Aug 2009 Link to this post

    any idea?
  6. Answer
    ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 26 Aug 2009 Link to this post

    Hi Mojtaba,

    unfortunately not.
    I checked it with this sample http://demos.telerik.com/aspnet-ajax/grid/examples/client/keyboardnavigation/defaultcs.aspx
    And here scrolling also doesn't work correctly.
    I change the pagesize to 50.
    Then I select the last visible row - and it scrolls up to the middle of the window.
    --OK so far - I thought.
    Than I "mouse wheel" about 30 records down an select another one.
    The grid scrolls the page up to the top (almost to the top: grid is the first visible element).
    After a view tries I found that  - when I select a row and there is a scrollbar on the page then the grid scrolls the page
    so that it is the first visible element.

    I've never seen this before (never took care about it) - but I guess this is at least "strange".
    Because it means - when ever a user selects a row the grid scrolls to top.

    Regards

    Manfred
  7. Mojtaba
    Mojtaba avatar
    32 posts
    Member since:
    Feb 2009

    Posted 26 Aug 2009 Link to this post

    Hi Manfred,

    Thank you for reply
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017