Mutliple grid casue scrollbar reset on lazy load

1 posts, 0 answers
  1. Waqar
    Waqar avatar
    1 posts
    Member since:
    Jan 2017

    Posted 17 Jan 2017 Link to this post

    Hi,

    I am trying to evaluate and build around radgrid, in my current situation i have 15 grids (each in its own individual user control) to display in a single page "so i have 15 user control, with 1 grid in each user control". To accomplish this i am trying to perform lazy load which will initiate loading each grid once page loaded (we don't want customer starring at white screen while system fetching data from database, it could take as long as 60-200seconds to load entire page).

    Now issue starts when each grid finish loading. Once each grid finish loading, vertical scrollbar goes back to last position or to top of page based on last location of scrollbar. It would be very annoying, lets say customer looking at 5th grid "while other grids are still loading" and page scroll back to different position as any other grid finish loading.

    In my current page i am using XMLHttpRequest to post request to get different grids (using this method i can call as many grids as i want without effecting scroll bar).

    I am wasting to much time to see if it can work, here i am attaching Page with user control, in case if anyone can help.

    Seems it is not allowed to upload rar file, so here is rar file with 4 files inside https://www.datafilehost.com/d/3c8fa347

    While page loading grids, you can scroll down and you will notice it goes back right to top when any grid finish loading at bottom of page.

    Regards,

    Waqar

Back to Top