Modal Window positioning

4 posts, 0 answers
  1. fabrizio bertotto
    fabrizio bertotto avatar
    2 posts
    Member since:
    Oct 2003

    Posted 08 Sep 2009 Link to this post

    Hello,

    we need to open a modal window, but instead to have it centered, the windows should be positioned on the bottom of the window.
    Some suggestions?

    Thanks in advance

    Fabrizio
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 08 Sep 2009 Link to this post

    Hi Fabrizio,

    After showing the modal RadWindow, you could use the moveTo() method from the client-side API to position the window where you need it.


    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. fabrizio bertotto
    fabrizio bertotto avatar
    2 posts
    Member since:
    Oct 2003

    Posted 09 Sep 2009 Link to this post

    Hi Georgi,

    this works, thanks.
    Issue is that moveto method is called after window showing, and this "movement" is visible to the user. Dialog open and then shift to the right position. Functionally works, but it is not nice to see. Are there any alternative?

    Regards

    Fabrizio
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Sep 2009 Link to this post

    Hi Fabrizio,

    I am afraid no - by design a modal RadWindow will always be shown in the center of the page.


    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top