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

dropdown misaligning in ie9 only

5 Answers 16 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 11 Sep 2014, 03:57 PM
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

Sort by
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>
0
Nencho
Telerik team
answered on 16 Sep 2014, 08:29 AM
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
 

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
Nencho
Telerik team
answered on 14 Oct 2014, 07:20 AM
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
 

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.
Tags
ComboBox
Asked by
Joel
Top achievements
Rank 1
Answers by
Joel
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or