I am using version 2013.2.717.35 and on initial load the dropdown aligns properly. When I scroll however the dropdown no longer appears below the combobox. I have set properties oRadCombo.EnableScreenBoundaryDetection = False and oRadCombo.ExpandDirection = RadComboBoxExpandDirection.Down. I have attached pictures showing the problem. Some of our users are forced to use IE9 only. Thanks for your consideration.
5 Answers, 1 is accepted
0
Joel
Top achievements
Rank 1
answered on 11 Sep 2014, 03:59 PM
I forgot to mention that I tried this solution which is similar to one on your site.
<script type="text/javascript" language="javascript">
window.onscroll = closedrop;
function closedrop() {
var combos = Telerik.Web.UI.RadComboBox.ComboBoxes;
if (combos != null) {
for (var i = 0; i < combos.length; i++) {
var combo = combos[i];
if (combo.get_dropDownVisible())
combo.hideDropDown();
}
}
}
</script>
<script type="text/javascript" language="javascript">
window.onscroll = closedrop;
function closedrop() {
var combos = Telerik.Web.UI.RadComboBox.ComboBoxes;
if (combos != null) {
for (var i = 0; i < combos.length; i++) {
var combo = combos[i];
if (combo.get_dropDownVisible())
combo.hideDropDown();
}
}
}
</script>
0
Hello Joel,
Since the DropDown element of the RadComboBox differs from the input one, the workaround that you've manage to find is the proper implementation in order to keep the proper behavior in this scenario.
Regards,
Nencho
Telerik
Since the DropDown element of the RadComboBox differs from the input one, the workaround that you've manage to find is the proper implementation in order to keep the proper behavior in this scenario.
Regards,
Nencho
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Joel
Top achievements
Rank 1
answered on 09 Oct 2014, 03:40 PM
The problem is the workaround does not work.
0
Hello Joel,
I would suggest you to hook the scroll handler to the container of the RadComboBox is question. I have prepared a simple example for you, which you can find in the attachment. Test the behavior and let us know if you face any issues in the implementation at your end.
Regards,
Nencho
Telerik
I would suggest you to hook the scroll handler to the container of the RadComboBox is question. I have prepared a simple example for you, which you can find in the attachment. Test the behavior and let us know if you face any issues in the implementation at your end.
Regards,
Nencho
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Joel
Top achievements
Rank 1
answered on 21 Oct 2014, 08:45 PM
I found the problem. Your example worked perfectly. I traced it to a missing !DOCTYPE declaration so IE was using <META content="IE=5.0000" http-equiv="X-UA-Compatible">. Thanks for your help and sorry it was not your issue.