Hello All,
Can anyone help me to solve this problem.
1) I have a normal IE window, when i click on button, it should open a completely new Radwindow and close the parent window.
Currently its opening in same window.
2) From Child window, hope it can open popups and should not be a problem.
Any solution will be really appreciated.
Regards
Sudhakar
Can anyone help me to solve this problem.
1) I have a normal IE window, when i click on button, it should open a completely new Radwindow and close the parent window.
Currently its opening in same window.
2) From Child window, hope it can open popups and should not be a problem.
Any solution will be really appreciated.
Regards
Sudhakar
4 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 21 Sep 2010, 09:59 AM
Hello,
The following documentation shows how to open the radwindow from another window.
Opening a RadWindow from Within a RadWindow
I hope this will be helpful for you.
-Shinu.
The following documentation shows how to open the radwindow from another window.
Opening a RadWindow from Within a RadWindow
I hope this will be helpful for you.
-Shinu.
0

sudhakar
Top achievements
Rank 1
answered on 21 Sep 2010, 10:57 AM
Hello,
I already tried this but seems not working. Below are the concerns:
1) The window is normal IE browser window, but the article says Radwindow to be opened from Rad window. Please confirm meaning the window shoud be RAD window?
2) I have used both the codes, but seems doesnt work and giev javascript error . Correct teh below code if its wrong soemwhere.
Any further solution will be appreciated.
Regards
Sudhakar
function GetRadWindow() {
var oWindow = null;
if (window.radWindow)
oWindow = window.radWindow;
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;
return oWindow;
}
function winOpen() {
var oBrowserWnd = GetRadWindow().BrowserWindow;
oBrowserWnd.radopen("http://www.google.com", "LoginPage");
}
<
asp:Button
ID
=
"Button1"
runat
=
"server"
OnClientClick
=
"winOpen();"
Text
=
"Open RadWindow"
/>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
VisibleStatusbar
=
"false"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"LoginPage"
runat
=
"server"
Title
=
"Login Page"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
0
Hello sudhakar,
If I understand you correctly, you want to achieve the following:
1. Open a browser page with a button on it.
2. When you click that button, you want to open a RadWindow and close the browser's page.
If this is so, such functionality is not possible - RadWindow exists only in the context of the page in which it is created. It cannot be used as a standalone popup (i.e. as a replacement of the main browser window).
Regards,
Georgi Tunev
the Telerik team
If I understand you correctly, you want to achieve the following:
1. Open a browser page with a button on it.
2. When you click that button, you want to open a RadWindow and close the browser's page.
If this is so, such functionality is not possible - RadWindow exists only in the context of the page in which it is created. It cannot be used as a standalone popup (i.e. as a replacement of the main browser window).
Regards,
Georgi Tunev
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0

sudhakar
Top achievements
Rank 1
answered on 23 Sep 2010, 02:28 AM
Hello Georgi,
Thankyou for the updated information.
Regards
Sudhakar
Thankyou for the updated information.
Regards
Sudhakar