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

mailto: or tel: in href of actionssheet don't works

1 Answer 104 Views
ActionSheet
This is a migrated thread and some comments may be shown as answers.
Juergen
Top achievements
Rank 1
Juergen asked on 09 Jul 2014, 11:52 AM
Hello,

i try following actionsheet in my mobile web ...

<ul data-role="actionsheet" id="listViewTeamActions" data-popup='{"direction": "left"}'>
        <li><a href="mailto:1234@456.de">MailTo</a></li>
        <li><a href="tel:1234567">Call</a></li>
</ul>

Later i will set href dynamically using jQuery.

The links doesn't work. If i click on one of them the actionsheet close ... but nothing else happened.

How do use mailto: and tel: links in actionsheet ?

Regards

Juergen

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 10 Jul 2014, 11:12 AM
Hi Juergen,

You can create data-action methods that will handle the call and mail functionality as shown in this example:

http://jsbin.com/wajen/1/edit

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ActionSheet
Asked by
Juergen
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or