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

Windows driven by server-side codes

1 Answer 44 Views
Window
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 08 Jun 2010, 04:29 PM

Hi,
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 ?



Marco

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Jun 2010, 05:55 AM
Hi,

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.

C#:
 
protected void Button1_Click(object sender, EventArgs e)   
{   
    RadWindow window1 = new RadWindow();   
    window1.NavigateUrl = "http://www.google.com";   
    window1.VisibleOnPageLoad = true;   
    window1.Width = 500;   
    window1.Height = 300;   
    this.form1.Controls.Add(window1);   
}   

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

-Shinu.
Tags
Window
Asked by
lupotana
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or