Hello,
To provide a bit of background, I have a page which refreshes it's data every two seconds but doesn't actually visibly refresh (By using a RadAjaxPanel). I'd like to click a button on a data row and populate the data from that row into a RadWindow (Like an edit dialog), and also have additional buttons in that dialog for various operations.
I have a RadWindow and code attached to a button which should set the RadWindow to be visible, however the RadWindow does not appear.
Example Code:
In Example.aspx -
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Style="width: 100%">
//////Some MasterTableViews and RadGrids with various data here with buttons to pop up an edit dialog////
</telerik:RadAjaxPanel>
<telerik:radwindow runat="server" id="RadWindow1" Visible="False">
<ContentTemplate>
<asp:UpdatePanel ID="Updatepanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Label ID="Label1" Text="I am an example" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</telerik:radwindow>
In Example.aspx.cs
protected void RadGrid_ItemCommand(object sender, GridCommandEventArgs e)
{
this.RadWindow1.Visible= true;
}
When I click the button in the RadGrid to set the RadWindow to be visible, the .cs code executes but the RadWindow does not appear on the page.
Any help will be much appreciated.
Thanks,
Jack