window from code

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    46 posts
    Member since:
    Apr 2009

    Posted 24 Sep 2009 Link to this post

    I cant open window from code. I added radwindow on page which is dynamically created. I cant find sow metod to dsplay window. any help appreciated.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Sep 2009 Link to this post

    Hi Benjamin,

    Here is the code that I used for opening RadWindow from code behind.

    protected void Button1_Click(object sender, EventArgs e)  
        RadWindow window1 = new RadWindow();  
        window1.NavigateUrl = "";  
        window1.VisibleOnPageLoad = true;  
        window1.Width = 500;  
        window1.Height = 300;  
    Note: Make sure that you set the VisibleOnPageLoad property to True.
    Also checkout the documentation for more information on Setting Server-Side Properties

    Feel free to share the comments,
Back to Top