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

Way to have it working on Mobile

3 Answers 28 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Cestrian
Top achievements
Rank 2
Cestrian asked on 14 Apr 2015, 10:16 AM

Hi all.

 Quick question... is there a way to have it working on mobile (android).

 If I create <select> with couple <option> elements and i call $("#myDiv").kendoDropDownList(); whole app freezes and no content is shown (on document ready).

 Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 16 Apr 2015, 07:05 AM
Hello Phill,

The widget works just fine in a mobile application. I would suggest you check our online demo that depicts exactly this behavior. You can find more details about the correct widget initialization in this help article.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Cestrian
Top achievements
Rank 2
answered on 16 Apr 2015, 09:04 AM

Thanks Georgi Krustev,

 Unfortunately it's not working.

index.html is loading resources:
- jquery-1.11.2.min.js
- kendo.all.min.js
- kendo.common.min.css
- kendo.default.min.css

html code:
<select id="listOfRegions">
   <option value="0">Select region</option>
</select>

 js code:
$(document).ready(function() {
    $("#listOfRegions").kendoDropDownList();
});

 If I run it on android there's just no way I can access that website. App totally freezes. If i remove: $("#listOfRegions").kendoDropDownList(); it works - i just get regular select.

Of coarse kendo is successfully loaded because modalviews, transitions, etc works perfectly.

0
Georgi Krustev
Telerik team
answered on 20 Apr 2015, 07:21 AM
Hi,

The depicted issue is quite odd. Would it be possible to modify this Dojo demo (I used the given code snippets to build it) in order to replicate the issue? This will help us to observe the erroneous behavior locally and find the cause of the issue much faster.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Cestrian
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Cestrian
Top achievements
Rank 2
Share this question
or