All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
"server"
>
Windows
telerik:RadWindow
NavigateUrl
"Dialog1.aspx"
"Window1"
></
</
protected
void
Button1_Click(
object
sender, EventArgs e)
{
if
(test)
//Condition
string
script =
"<script language='javascript' type='text/javascript'>Sys.Application.add_load(ShowWindow);</script>"
;
ClientScript.RegisterStartupScript(
this
.GetType(),
"showWindow"
, script);
}
<script type=
"text/javascript"
function
ShowWindow()
var
oWnd = window.radopen(
'Default2.aspx'
,
'Window1'
);
</script>
Button4_Click(
RadWindow newWindow =
new
RadWindow();
newWindow.NavigateUrl =
"Default2.aspx"
newWindow.VisibleOnPageLoad =
true
RadWindowManager1.Windows.Add(newWindow);