Windows driven by server-side codes

2 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 08 Jun 2010 Link to this post

    I want to use RadWindows for show a message after push a botton.
    The event of button must be server-side.

    Is it possibile driven a RadWindows from server side codes ?

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

    Posted 09 Jun 2010 Link to this post


    Yes, it is possible to open RadWindow from server code. You can configure the window dynamically in the code-behind, and make sure you set the VisibleOnPageLoad to True. Here is the example.

    protected void Button1_Click(object sender, EventArgs e)   
        RadWindow window1 = new RadWindow();   
        window1.NavigateUrl = "";   
        window1.VisibleOnPageLoad = true;   
        window1.Width = 500;   
        window1.Height = 300;   

    You can also refer the following help article for more information on this:
    Setting Server-Side Properties 

Back to Top