This is a migrated thread and some comments may be shown as answers.

open radwindow from server side

1 Answer 81 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sigma
Top achievements
Rank 1
Sigma asked on 09 Jan 2013, 12:29 PM
how to open radwindow from server side?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Jan 2013, 12:34 PM
Hi,

Try the following.

C#:
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(Page, Page.GetType(), "key", script, true);
}


Hope this helps.

Regards,
Shinu.
Tags
Window
Asked by
Sigma
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or