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

IE Issue when template is used

2 Answers 46 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Antje
Top achievements
Rank 1
Antje asked on 19 Feb 2014, 02:06 PM
Hello Telerik-Team,

i have a problem with DropDownList in Internet Explorer 9,10 and 11. When I use this template:

<div style="display:table-cell;width:auto;"><div id="${ data.Periode}">${ data.Periode}</div></div><div style="display:table-cell;width:auto;"><div id="${ data.Bezeichnung}">${ data.Bezeichnung}</div></div>

when initializing the DropDownList, the Popup is closed when i click into the scrollbar.

When i remove the template description, everything works fine.

Here's my init:

.kendoDropDownList({
                dataTextField: "Periode",
                dataValueField: "Periode",
                dataSource: dataSource,
                template: "<div style="display:table-cell;width:auto;"><div id="${ data.Periode}">${ data.Periode}</div></div><div style="display:table-cell;width:auto;"><div id="${ data.Bezeichnung}">${ data.Bezeichnung}</div></div>",
                optionLabel: defaultEntry 
            });

Thank you very much!


2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Feb 2014, 10:17 AM
Hi Antje,

I cannot reproduce the described problem with the provided code snippet. Please send a jsFiddle / jsBin demo, which demonstrates the issue.

On a side note, the template definition contains a syntax error - you are using double quotes to wrap the template as well as inside it, which should result in a Javascript error.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Antje
Top achievements
Rank 1
answered on 21 Feb 2014, 01:02 PM
A css snippet inside our code produced this. So no issue with dropdownlist itself.

Thanks for your help.
Tags
DropDownList
Asked by
Antje
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Antje
Top achievements
Rank 1
Share this question
or