Posted 08 Jan 2012 Link to this post
Posted 04 Jun 2012 Link to this post
But set VisibleOnPageLoad = false is not showing windows.....................
<
telerik:RadWindow
runat
=
"server"
ID
"RadWindow1"
Title
></
>
asp:Button
"Button1"
Text
"open the RadWindow from the server"
OnClick
"Button1_Click"
/>
protected
void
Button1_Click(
object
sender, EventArgs e)
{
string
script =
"function f(){$find(\""
+ RadWindow1.ClientID +
"\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
;
ScriptManager.RegisterStartupScript(
this
,
.GetType(),
"key"
, script,
true
);
}