open radwindow from server side

2 posts, 0 answers
  1. Sigma
    Sigma avatar
    87 posts
    Member since:
    Apr 2012

    Posted 09 Jan 2013 Link to this post

    how to open radwindow from server side?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Jan 2013 Link to this post


    Try the following.

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top