Here how I call my window. Both code behind and client methods are not working, the window just don't open.
function
OpenWindow(url) {
var
oWindow = window.radopen(url,
'window'
);
oWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);
oWindow.moveTo(150, 100);
oWindow.setSize(1000, 360);
var
browserWin = oWindow.BrowserWindow;
var
fn =
new
browserWin.Function(
"parent.window.location.reload(false);"
);
oWindow.add_close(fn);
}
<
a
onclick
=
"OpenWindow('<%# WindowURL(Eval("
AddresID").ToString()) %>')" class="edit">Edit</
a
>
private
void
NewWindow()
{
RadWindow newwindow =
new
RadWindow();
newwindow.ID =
"RadWindow1"
;
newwindow.AutoSize =
true
;
newwindow.EnableEmbeddedBaseStylesheet =
false
;
newwindow.EnableEmbeddedSkins =
false
;
newwindow.Behaviors = WindowBehaviors.Close;
newwindow.NavigateUrl = GetWidgetPagerURL(
"Profil/Address.ascx&isInvoiceAddress=1"
);
newwindow.VisibleOnPageLoad =
true
;
newwindow.VisibleStatusbar =
false
;
newwindow.OnClientClose =
"OnClientClose"
;
rwm.Windows.Add(newwindow);
}