This is a migrated thread and some comments may be shown as answers.
.Mobile(MobileMode.Phone)
1 Answer 21 Views
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 12 Mar 2015, 03:19 PM
When i use .Mobile(MobileMode.Phone) to get the "add scheduler entry" box to open on tablet / iPhone with one press, this work fine.

However, This same option then opens strangely on the desktop, full width. I would like the desktop to open a popup window, as it would normally do if the additional .Mobile(MobileMode.Phone) was not added. The site is a responsive site and needs this functionality.

Thank you in advance...

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 16 Mar 2015, 08:51 AM
Hello Andrew,

The MobileMode.Phone forces the widget to use a mobile look even on desktop. What you will need to set 
in your case is MobileModel.Auto, as this will tell the widget to use the mobile view only on mobile devices.

Regards,
Georgi Krustev
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.

 
Asked by
Andrew
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or