Slider causing content to shift when paging grid

3 posts, 0 answers
  1. Levi
    Levi avatar
    134 posts
    Member since:
    Jul 2008

    Posted 06 Nov 2008 Link to this post

    I have a custom pager template in my RadGrid that incorporates a RadSlider control. Whenever the full screen can be viewed at one time the slider does not cause any problems when paging back and forth using the grid. Although, when the page is long and you scroll down the the bottom the content shifts each time I page back and forth. The entire page shifts upward. After stripping my page down I realized that the RadSlider was causing the problem. As soon as I delete it or make it invisible everything works as expected. It's odd that this only occurs when web browser vertical scrollbar is enabled and I am scrolled down to the bottom of the page.

    Any ideas what might be causing the issue. I had the latest 3.5 sp1 framework installed.I'm also tried removing all the css styles to make sure it wasn't that. Please see my follow up posting below.

    Thanks,
    Levi

     

     

     

  2. Levi
    Levi avatar
    134 posts
    Member since:
    Jul 2008

    Posted 07 Nov 2008 Link to this post

    I've created a sample project demonstrating this issue:
    http://www.seo-informer.com/temp/slider.zip

    Another important note is that it only occurs in IE7. It works fine in Firefox. I'm using Vista Ultimate.

    Again to replicate here are the steps:
    1 - Click the option button to load user control
    2 - Scroll all the way down to the bottom of the page as far as you can go.
    3 - Now click the next button on the grid navigation.
    4 - Notice that the page become taller and the browser scrollbar now shows the page has gotten taller as well.
    5 - Now scroll the page as far as you can to reach the new page bottom.
    6 - Start paging again and notice that the grid jumps. It doesn't do it everytime in this sample project, but it does in my main one. But if you page forward and backward 10 times or so you will notice the whole page shifts up and immediatley back down again randomly. I've tried paging both slow and fast. It happens randomly in both cases or on every page change in my main project as I stated before.

    Any help would be greatly appreciated as I really want to use a slider control in my pager template.

    Thanks!
    Levi
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Levi
    Levi avatar
    134 posts
    Member since:
    Jul 2008

    Posted 08 Nov 2008 Link to this post

    For anyone who's interested, i resolved this problem by upgrading to the latest Q3 2008. I was using 6.19 because I preferred the old skins, but i made them into custom ones and upgraded... problem solved. But in case you decide to support your 6.19 customers, the sample project will hopefully be of use.
Back to Top