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

open a window on button click

1 Answer 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erin
Top achievements
Rank 1
Erin asked on 02 Jan 2014, 12:26 PM
Hi,
How to open a window on button click?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Jan 2014, 12:31 PM
Hi Erin,

Please try the following code snippet:

ASPX:
<telerik:RadButton ID="RadButton1" runat="server" Text="Open Window" OnClick="RadButton1_Click">
</telerik:RadButton>
<telerik:RadWindow ID="Window1" runat="server">
</telerik:RadWindow>

C#:
protected void RadButton1_Click(object sender, EventArgs e)
{
 Window1.VisibleOnPageLoad = true;
}

Thanks,
Princy
Tags
Grid
Asked by
Erin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or