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

Window position not works when Modal is true

1 Answer 66 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rimantas
Top achievements
Rank 1
Rimantas asked on 03 Dec 2008, 12:15 PM
Hi,
I have one small problem with RadWindows positions. When I set window position and Modal = true then window appears on center ,not on my seted position
there is my code
<telerik:RadWindowManager ID = "RadWindowmanager1" runat = "server"  
        Modal = "true" Skin = "eApskaitaWindow" EnableEmbeddedSkins="False" Top = "23px"
        <Windows> 
            <telerik:RadWindow ID = "RemindWindow" Behavior="Move, Resize, Close" Height="150px"  
                Width = "500px" runat="server" VisibleStatusbar ="false" VisibleTitlebar = "true" > 
            </telerik:RadWindow>                                                         
        </Windows> 
    </telerik:RadWindowManager> 

Thanks in addition.

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 03 Dec 2008, 01:11 PM
Hello Rimantas,

The modal behavior of RadWindow is conceived to mimic the behavior of the OS modal windows and the browser popups - alert, confirm, prompt and the modal / modeless IE window popups, as well - they are always centered, and this is why the top and left positions you have set in the declaration of the RadWindow are disregarded. You will not be able to set a position to RadWindow in modal mode.

Sincerely yours,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Rimantas
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or