ModalView Re-Center on Orientation Change

3 posts, 1 answers
  1. Jason
    Jason avatar
    20 posts
    Member since:
    Nov 2011

    Posted 21 Mar 2013 Link to this post

    When I have a ModalView open and change the orientation of my iPad, the ModalView is no longer centered.  How do I get it to re-center? I assume I need to bind on the orientationchange event, but I don't know what code I can use to re-center.

         $(window).bind('orientationchange', reCenter);

         function reCenter() {
              // unknown recenter code??
         }

    Thank you,
    Jason
  2. Answer
    Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 25 Mar 2013 Link to this post

    Hello Jason,

    We fixed one such issue in the latest release, can you check if it works for you?

    All the best,
    Kamen Bundev
    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. Jason
    Jason avatar
    20 posts
    Member since:
    Nov 2011

    Posted 30 Mar 2013 Link to this post

    Thank you Kamen. The latest version fixed my centering issue.

    Jason
Back to Top