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

2 posts, 0 answers
  1. Juergen
    Juergen avatar
    12 posts
    Member since:
    Sep 2013

    Posted 09 Jul 2014 Link to this post

    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
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 10 Jul 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top