RadComboBox not adding scrollbar

14 posts, 0 answers
  1. Marty
    Marty avatar
    61 posts
    Member since:
    Oct 2008

    Posted 27 Jan 2009 Link to this post

    Hi,

    I'm using RadComboBoxes on my pages without specifying the height attribute as I do not want to potentially have empty space in the control.  So, with this, what I experience is that the combobox detects the page boundary just fine and opens either toward the top, or the bottom of the page, depending on proximity to either... however, it does not seem to take into account scroll position on the page.

    So, if the items in the combobox do not reach the page boundary and the page is scrolled such that said boundary (either top or bottom) is not in view, then the list items extend past the viewable area of the page and no scrollbar is added to the combo box.

    Is there any other way to force a scrollbar to appear without setting a static height for each combo box?

    This KB article doesn't help in my situation becuase I'm using several different themes (one for each of your skins) where the combo box is decorated differently depending on the selected theme.

    Any help or input would be appreciated.  I'm using Q32008 version of the controls.

    Thanks,
    Marty
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 29 Jan 2009 Link to this post

    Hi Marty,

    You can try the MaxHeight property which we introduced in Q3 2008 release.

    I hope this helps.

    Kind regards,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marty
    Marty avatar
    61 posts
    Member since:
    Oct 2008

    Posted 29 Jan 2009 Link to this post

    Veselin,

    Thank you for the reply.  I did not see the maxheight property, but tried it and it does work as intended.  So, for now, it'll be a good work around for this situation.

    However, I'd like to suggest that perhaps for the next release, or a future release, that the boundary detection of the combobox consider the boundary of the browser window as the boundary vs. the boundary of the page.  This is because currently as implemented, I'm guessing at least, that the boundary detection looks for proximity to the top or bottom of the page, which could be scrolled to a point such that there is more "page" above the combo box than below (or vice versa), so it opens upward... however, the browser window is small, or loaded on a low-res monitor and thus it is scrolled to a point such that the combo box is at the very top of the viewable area in the browser. 

    I hope that makes sense, if not, I can clarify with some screenshots.

    Again, thanks for the help,
    Marty
  5. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 02 Feb 2009 Link to this post

    Hi Marty,

    Could you provide more details as screenshots as you mentioned, so that we better understand what you are suggesting?

    As a side note, you could not attach the files in the forum, so I suggest you either open a formal support ticket and send them there or upload them on a public storage server.

    Thank you in advance for your co-operation.

    All the best,
    Simon
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Marty
    Marty avatar
    61 posts
    Member since:
    Oct 2008

    Posted 04 Feb 2009 Link to this post

    Thank you for submitting your inquiry to the Telerik Support.

    Your ticket ID is : 188949

  7. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 06 Feb 2009 Link to this post

    Hi Marty,

    Thank you for submitting a support ticket and providing details about the feature.

    This is a major improvement of the Screen Boundary Detection functionality and could be useful, so I logged it in our Feature List for future implementation.

    Sincerely yours,
    Simon
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Jonathan
    Jonathan avatar
    134 posts
    Member since:
    Sep 2007

    Posted 23 Jul 2009 Link to this post

    Hello,

    I'm having this same issue, do you know if it has been addressed?  In lieu of a solution, if I could force the combobox to open downward all the time at least I would have some consistency.  Otherwise I have this problem:

    http://www.jshawconsulting.com/Telerik/radcomboboxboundary.gif

    Cheers
    Jonathan

  9. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 24 Jul 2009 Link to this post

    Hello Jonathan,

    We haven't addressed this issue yet.

    Does setting EnableScreenBoundaryDetection to false resolves the issue at your side?

    Kind regards,
    Simon
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  10. Felix
    Felix avatar
    22 posts
    Member since:
    Apr 2008

    Posted 01 Dec 2009 Link to this post

    Hi all,

    is there any solution in the meantime?
    I tried setting the "EnableScreenBoundaryDetection" to false/true --> no solution.
    Also I tried the "MaxHeight" Property.. still no changes for this issue.

    Thanks,
    Felix


  11. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 01 Dec 2009 Link to this post

    Hi Felix,

    Please open a formal support ticket and us a page/project showing the issue there.

    We will review it and will provide you with a workaround or a solution.

    Sincerely yours,
    Simon
    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.
  12. Neetu
    Neetu avatar
    7 posts
    Member since:
    Dec 2010

    Posted 02 Dec 2013 Link to this post

    I am having the same issue. I tried MaxHeight and EnableScreenBoundaryDetection to false and still doesn't work for me.
  13. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 05 Dec 2013 Link to this post

    Hello Neetu,

    Would you elaborate a bit more on your scenario. What exactly is the currently faced issue? Any screenshots demonstrating the problem or the configuration of the RadComboBox that you are using would be helpful. In addition, since this thread is quite old, would you specify the version of our controls that you are currently using?

    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.
  14. MBEN
    MBEN avatar
    159 posts
    Member since:
    Nov 2011

    Posted 18 May 2015 in reply to Nencho Link to this post

    I am having a similar issue.

    The maxheight property does not seem to do anything. I am using 2014.1.603 version. I have tried EnableScreenBoundaryDetection as well but that doens't help either.

    Below is my combo declaration:

    <telerik:RadComboBox ID="ddlRelationship" runat="server" LoadingMessage="Loading Relationship..." EnableVirtualScrolling="false"  DataSourceID="_dataSrcRelationship" DataTextField="BeneficiaryRelationship" DataValueField="BeneficiaryRelationship" MarkFirstMatch="True" ToolTip="Select a Relationship" AllowCustomText="false" Height="50px" MaxHeight="50px"  >
    </telerik:RadComboBox>

     

  15. MBEN
    MBEN avatar
    159 posts
    Member since:
    Nov 2011

    Posted 18 May 2015 in reply to MBEN Link to this post

    I figured it out.

    I am using custom styles and there was no style declaration for .rcbScroll. I added the below style and it worked:

     

    .RadComboBoxDropDown .rcbScroll
        {
            overflow-y:scroll;
        }

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