Scrolling issues with a Combox in a Modal popup

7 posts, 0 answers
  1. john
    john avatar
    11 posts
    Member since:
    Aug 2009

    Posted 08 Oct 2009 Link to this post

    Hey, I'm using the AJAX Control Toolkits Modal Popup Extender, and i'm having a problem with scrolling.  If i have the drop down open and scroll the page, or if i am using the mouse wheel to scroll through the drop down items ( i have upwards of 100 items in the dropdown) and the dropdown reaches the end of the list(either top or bottom) the page behind the modal will scroll automatically.

      In another post you mention hiding the dropdown section using javascript on the onscroll event to prevent it from moving with the page instead of staying where it started in the modal popup.   Something like
     
                var combo = $find("<%= radDropDown.ClientID %>");  
                combo.hideDropDown(); 
    wired to the window.onscroll event.  That would work fine if i didnt have to scroll through the items in the list.  Is there a way to either reposition the dropdown items section manually or call a resize function, or even make it ignore the scroll event.  The latter solution would probably be the best, if possible.   If any of the above are possible please let me know, or if you have another solution I'd love to hear it.

    Thanks

    John
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Oct 2009 Link to this post

    Hello john,

    Could you please paste the code of your page here so we to be able to test this situation? Thanks a lot

    Greetings,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. john
    john avatar
    11 posts
    Member since:
    Aug 2009

    Posted 26 Oct 2009 Link to this post

    I did a few days ago, I'm really hoping for a solution before my trial expires.  When the company purchases the software it will be with a different email, and i'd hate to have to re submit everything.

    John
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 26 Oct 2009 Link to this post

    Hello John,

    I've already answered to the support ticket regarding this issue.

    Best regards,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Cayetano Landeros
    Cayetano Landeros avatar
    17 posts
    Member since:
    Feb 2006

    Posted 25 Sep 2013 Link to this post

    I am using the newest version of the controls and I am still getting the same issue as this user.  When the page scrolls the items container scrolls with the page and the dropdown is displayed disjointed and not in the same place as the items container. 
  7. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 30 Sep 2013 Link to this post

    Hello Cayetano,

    The drop down of the RadComboBox is a separate element than the input. This is the reason for the inconsistent scrolling, when the dropdown is expanded. As a workaround for this, we suggest to nest the RadComboBox in a div and attach a scroll event to this container (using JQuery). Then, at the scroll event handler you can close the RadComboBox dropdown using the hideDropDown() method. Please refer to this forum thread, where this is discussed in details.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  8. Cayetano Landeros
    Cayetano Landeros avatar
    17 posts
    Member since:
    Feb 2006

    Posted 30 Sep 2013 Link to this post

    worked!!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017