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

WINDOW OPEN

1 Answer 68 Views
Window
This is a migrated thread and some comments may be shown as answers.
satish
Top achievements
Rank 1
satish asked on 19 Mar 2009, 10:47 AM
 function OpenWindow(PID)
                {
                    var wnd = window.radopen("personDetail.aspx?="+PID, null);         
                    wnd.setSize(400,400);
                    return false;
                }


By the above code window will get open once.....after i maximize the window....then we click ...the second window getting open with same url.

I dont want to get second window to be open. The same url to be open maximized window(existing window).

same thing is happing in the below url
http://demos.telerik.com/aspnet-ajax/window/examples/windowmanager/defaultcs.aspx


Thanks,
Satish.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 19 Mar 2009, 02:31 PM
Hello Satish,

You can achieve the desired result by replacing the "null" parameter of the radopen() function with a string value, that represents the ID of the new window. If such window (with this ID) already exist it will be reopen, else a new window with such ID will be created and opened.

I hope this helps.

Kind regards,
Fiko
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
satish
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or