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

ModalView Re-Center on Orientation Change

2 Answers 84 Views
ModalView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 21 Mar 2013, 10:52 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 25 Mar 2013, 12:49 PM
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!
0
Jason
Top achievements
Rank 1
answered on 30 Mar 2013, 09:52 PM
Thank you Kamen. The latest version fixed my centering issue.

Jason
Tags
ModalView
Asked by
Jason
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Jason
Top achievements
Rank 1
Share this question
or