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

3 posts, 0 answers
  1. Vinodh K
    Vinodh K  avatar
    8 posts
    Member since:
    Feb 2013

    Posted 13 Mar 2013 Link to this post

    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. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 14 Mar 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Vinodh K
    Vinodh K  avatar
    8 posts
    Member since:
    Feb 2013

    Posted 15 Mar 2013 Link to this post

     
    Thank you,

Back to Top