This is a migrated thread and some comments may be shown as answers.

RadComboBox not adding scrollbar

13 Answers 402 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Marty
Top achievements
Rank 1
Marty asked on 27 Jan 2009, 04:48 PM
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

13 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 29 Jan 2009, 10:03 AM
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.
0
Marty
Top achievements
Rank 1
answered on 29 Jan 2009, 12:50 PM
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
0
Simon
Telerik team
answered on 02 Feb 2009, 08:52 AM
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.
0
Marty
Top achievements
Rank 1
answered on 04 Feb 2009, 04:33 PM

Thank you for submitting your inquiry to the Telerik Support.

Your ticket ID is : 188949

0
Simon
Telerik team
answered on 06 Feb 2009, 05:40 PM
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.
0
Jonathan
Top achievements
Rank 1
answered on 23 Jul 2009, 10:40 PM
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

0
Simon
Telerik team
answered on 24 Jul 2009, 08:07 AM
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.
0
Felix
Top achievements
Rank 2
answered on 01 Dec 2009, 02:58 PM
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


0
Simon
Telerik team
answered on 01 Dec 2009, 03:50 PM
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.
0
Neetu
Top achievements
Rank 1
answered on 02 Dec 2013, 09:52 PM
I am having the same issue. I tried MaxHeight and EnableScreenBoundaryDetection to false and still doesn't work for me.
0
Nencho
Telerik team
answered on 05 Dec 2013, 09:58 AM
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.
0
MBEN
Top achievements
Rank 2
Veteran
answered on 18 May 2015, 04:46 PM

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>

 

0
MBEN
Top achievements
Rank 2
Veteran
answered on 18 May 2015, 05:45 PM

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;
    }

Tags
ComboBox
Asked by
Marty
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Marty
Top achievements
Rank 1
Simon
Telerik team
Jonathan
Top achievements
Rank 1
Felix
Top achievements
Rank 2
Neetu
Top achievements
Rank 1
Nencho
Telerik team
MBEN
Top achievements
Rank 2
Veteran
Share this question
or