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

Setting the left & Top position for Rad window

1 Answer 206 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pramod
Top achievements
Rank 1
Pramod asked on 25 Jan 2011, 03:16 AM
Hi,

I have a rad window & I am trying to open this window in a specified position. Can you help me with some example how can I open a rad window with some specific left & top position.

Here is my code -

 

 

var wnd = window.radopen("OpenWin.aspx", "window1");

 

wnd.setSize(780, 480);

 

wnd.SetTitle("title");

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Jan 2011, 08:32 AM
Hello Pramod,

You can use the property moveTo to set the window position. Here is the sample code:

  function showWindow()
{
        var url = "Test.aspx";
        var oWnd = $find("<%=RadWindow1.ClientID%>");
         oWnd.moveTo(500, 100);
}


Thanks,
Shinu.
Tags
General Discussions
Asked by
Pramod
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or