I have a combo box on the page that contains, say, 3 items. The combo box's dropdown has no height set on it. If I click the down arrow on the box, the dropdown shows up and I can see all 3 items.
However, if I click within the combo box (like on the text itself) and this is the first click on that combo box after a page refresh, the dropdown shows up with scrollbars. (Additionally, the horizontal scrollbar actually hides the last item, making it seem on first glance that the dropdown only contains 2 items.) After that first click, no matter what I click, the dropdown shows up fine without scrollbars.
The issue is only on that first click of a page refresh when I click on the text in the combo box. Is there a way to avoid those scrollbars (without having to explicitly set the height of the dropdown)?
However, if I click within the combo box (like on the text itself) and this is the first click on that combo box after a page refresh, the dropdown shows up with scrollbars. (Additionally, the horizontal scrollbar actually hides the last item, making it seem on first glance that the dropdown only contains 2 items.) After that first click, no matter what I click, the dropdown shows up fine without scrollbars.
The issue is only on that first click of a page refresh when I click on the text in the combo box. Is there a way to avoid those scrollbars (without having to explicitly set the height of the dropdown)?
6 Answers, 1 is accepted
0
Hi Karim,
Looks like a javascript error is happening, can you check if there is one and send me the output (also please note which browser are you using)?
Best wishes,
Kamen Bundev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Looks like a javascript error is happening, can you check if there is one and send me the output (also please note which browser are you using)?
Best wishes,
Kamen Bundev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Karim
Top achievements
Rank 1
answered on 06 Apr 2009, 03:07 PM
Nope, no javascript errors. Although, the browser is (unfortunately) IE6, so maybe there's something going on there.
0
Hello Karim,
I still can't reproduce your issue. Could you please send me a sample project or a live URL so that I can help you? You can open a support ticket for that or I can convert this thread to a ticket if you wish.
Greetings,
Kamen Bundev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
I still can't reproduce your issue. Could you please send me a sample project or a live URL so that I can help you? You can open a support ticket for that or I can convert this thread to a ticket if you wish.
Greetings,
Kamen Bundev
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Karim
Top achievements
Rank 1
answered on 14 Apr 2009, 08:40 PM
Okay, figured out the issue. I'm using the Office2007 skin. What I don't like about this skin is that it leaves too much space in between entries, which causes the dropdown lists to be unnecessarily long. What I did to override this behavior is that in my css, I've added the following style:
div.RadComboBoxDropDown_Office2007 li.rcbItem, div.RadComboBoxDropDown_Office2007 li.rcbHovered
{
padding-top : 0px;
padding-bottom : 0px;
}
Removing this style fixes the scrollbars issue. Is there another way to reduce/remove the padding between the entries? Or is there a way to keep this style while having the scrollbars issue fixed?
Thanks.
div.RadComboBoxDropDown_Office2007 li.rcbItem, div.RadComboBoxDropDown_Office2007 li.rcbHovered
{
padding-top : 0px;
padding-bottom : 0px;
}
Removing this style fixes the scrollbars issue. Is there another way to reduce/remove the padding between the entries? Or is there a way to keep this style while having the scrollbars issue fixed?
Thanks.
0
Hello Karim,
I still can't reproduce your issue in the explained by you way. However there is a similar issue that happens with the RadComboBox drop down after the first Ajax reload in a page. Can you try if adding height: auto !important; to the rule you sent fixes the problem for you? If not, I will need a sample project or a live URL to reproduce it.
Regards,
Kamen Bundev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I still can't reproduce your issue in the explained by you way. However there is a similar issue that happens with the RadComboBox drop down after the first Ajax reload in a page. Can you try if adding height: auto !important; to the rule you sent fixes the problem for you? If not, I will need a sample project or a live URL to reproduce it.
Regards,
Kamen Bundev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Karim
Top achievements
Rank 1
answered on 17 Apr 2009, 03:46 PM
Yes, it's still happening.
I didn't see a way to attach the sample project here, so I'll just open a support ticket and attach the project to that.
Thanks.
I didn't see a way to attach the sample project here, so I'll just open a support ticket and attach the project to that.
Thanks.
