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

Switch is closing ModalView while changing the status yes to no and no to yes.

2 Answers 17 Views
Switch (Mobile)
This is a migrated thread and some comments may be shown as answers.
Vinodh K
Top achievements
Rank 1
Vinodh K asked on 13 Mar 2013, 05:49 AM
Hi,

I am using Modalview, in that i am using switch, when i change the switch status yet to no modalview is closing.


plese see the below code and find the attachment.


<div data-role="view" id="modalview-camera" data-title="HTML5 Camera" data-layout="mobile-tabstrip">
    <div data-role="footer">
        <div data-role="tabstrip">
            <a href="#tabstrip-settings" data-icon="contacts">Profile</a>
        </div>
    </div>

           <div data-role="content">
      <a data-role="button" data-rel="modalview" href="#modalview-login" id="modalview-open-button">Login</a>

 <div data-role="modalview" id="modalview-login" style="width: 95%; height: 270px;">
    <div data-role="header">
        <div data-role="navbar">
            <span>Login</span>
            <a data-click="closeModalViewLogin" data-role="button" data-align="right">Cancel</a>

        </div>
    </div>
    <div data-role="content">
    <input data-role="switch" id="email-switch" checked="checked" />
    </div>

</div>
           </div>
 

</div>

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 14 Mar 2013, 03:09 PM
Hi Vinodh,

I tried to reproduce the behaviour on iPhone 4S and Kindle Fire tablet but to no avail. Could you please specify what KendoUI version you are using? Everything seems to work fine with service pack release 2012.3.1315 and Q1 Beta 2013.1.226.

Please check my test page and let me know what I am missing.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Vinodh K
Top achievements
Rank 1
answered on 15 Mar 2013, 05:14 AM
 
Thank you,

Tags
Switch (Mobile)
Asked by
Vinodh K
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Vinodh K
Top achievements
Rank 1
Share this question
or