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

Radwindow Modal Position

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
IT
Top achievements
Rank 1
IT asked on 14 Jul 2015, 05:46 PM

I have an application that contains several radwindows with the modal setting turned on.  When I run the application standalone, the radwindow opens up in the correct position, centered on the screen.  

However, when I call my application from inside a menu application the radwindow opens up relative to the frame and not to the browser.  This requires the user to scroll halfway down the page to locate the radwindow where they have to input information.  It's not even obvious to the user that a window had opened up.

Is there anyway to get it to automatically center in the window at the position they clicked the icon which launches the radwindow, the same way it does when not being called from menu application?

Any help is greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 17 Jul 2015, 12:26 PM
Hi,

It would be best if you can provide more details about how the frames are created, are they iframe elements, etc.? Also, how the RadWindow instances are being opened? 

I suggest providing a simple markup example with the code used, so to get a better idea what the situation is.

On a side note, when RadWindow is opened, you can use the client-side moveTo method to reposition it. You can examine the method here—http://docs.telerik.com/devtools/aspnet-ajax/controls/window/client-side-programming/radwindow-object.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
IT
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or