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

Modal Window positioning

3 Answers 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
fabrizio bertotto
Top achievements
Rank 1
fabrizio bertotto asked on 08 Sep 2009, 11:21 AM
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

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Sep 2009, 12:06 PM
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.
0
fabrizio bertotto
Top achievements
Rank 1
answered on 09 Sep 2009, 07:38 AM
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
0
Georgi Tunev
Telerik team
answered on 09 Sep 2009, 08:30 AM
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.
Tags
Window
Asked by
fabrizio bertotto
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
fabrizio bertotto
Top achievements
Rank 1
Share this question
or