I have no idea really what I did to cause this. The popup RadWindow has strange visual glitches in the title bar area. I just wanted to make a basic, normal RadWindow as a popup from clicking a button in the parent page.
Here's the code for the popup window BatchAccounts.aspx:
Here's the code for the popup window BatchAccounts.aspx:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
title
>Add Batch Accounts</
title
>
<
link
href
=
"/Styles/mainLight.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
script
language
=
"javascript"
type
=
"text/javascript"
>
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function CloseAndRebind(args) {
GetRadWindow().BrowserWindow.refreshGrid(args);
GetRadWindow().close();
}
function returnToParent() {
var oArg = new Object();
//get a reference to the current RadWindow
var oWnd = GetRadWindow();
oWnd.close();
}
</
script
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
id
=
"mainArea"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
telerik:RadAjaxLoadingPanel
runat
=
"server"
ID
=
"LoadingPanel1"
IsSticky
=
"true"
/>
<
telerik:RadAjaxPanel
runat
=
"server"
ID
=
"RadAjaxPanel1"
LoadingPanelID
=
"LoadingPanel1"
>
Add Batch Accounts TEST
</
telerik:RadAjaxPanel
>
</
div
>
</
form
>
</
body
>
</
html
>