Currently I have a user control which contains a RadGrid, RadWindow and RadAjaxManagerProxy.
On the page which contains the control, initially when tested it worked fine. I'd click a button on the RadGrid would bring up the RadWindow. I've since moved it into a RadDock, now when the button is clicked, a post back happens, but the window does not pop up.
Here is the code for the window itself.
The code from when the button is being pushed.
And the page that contains it has a radAjaxManager which points to the panel which has the control inside of it.
As I said when I just had the panel on the page the rad window showed just fine. Also if I set the attribute "visibleonpageload" on the window itself. When the rdock initially loads on the page, the window will be shown.
Any reason why the window will not show any more?
Thanks
On the page which contains the control, initially when tested it worked fine. I'd click a button on the RadGrid would bring up the RadWindow. I've since moved it into a RadDock, now when the button is clicked, a post back happens, but the window does not pop up.
Here is the code for the window itself.
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" OnClientClose="OnClientCloseHandler" DestroyOnClose="true" ReloadOnShow="true"> |
<Windows> |
<telerik:RadWindow ID="windowNotes" Behaviors="Close" KeepInScreenBounds="True" Modal="True" |
runat="server" Width="450px" VisibleStatusbar="False" ReloadOnShow="true"> |
</telerik:RadWindow> |
</Windows> |
</telerik:RadWindowManager> |
The code from when the button is being pushed.
windowCustomerNotes.VisibleOnPageLoad = true; |
windowCustomerNotes.NavigateUrl = "~/Admin/Notes.aspx" |
windowCustomerNotes.Title = "Notes On" + firstName + " " + lastName |
And the page that contains it has a radAjaxManager which points to the panel which has the control inside of it.
<telerik:RadDockLayout ID="RadDockLayout1" runat="server" |
storelayoutinviewstate="True"> |
<telerik:RadDockZone ID="RadDockZone1" runat="server" Height="350px" Width="180px"> |
<telerik:RadDock ID="rdockUsers" runat="server" Width="1270px" Height="250px" |
BorderColor="Black" DefaultCommands="ExpandCollapse" |
EnableAnimation="True" Resizable="True" Title="Users" |
Collapsed="True" onclientinitialize="OnClientInitialize" |
OnClientDragStart="OnDragStart" OnClientDragEnd="OnDragEnd" |
onclientdockpositionchanged="OnClientPositionChanged"> |
<ContentTemplate> |
<div style="padding-left:5px;padding-right:5px;"> |
<asp:Panel ID="pnlUsers" runat="server"> |
<UC:Users id="users1" runat="server" /> |
</asp:Panel> |
</div> |
</ContentTemplate> |
</telerik:RadDock> |
</telerik:RadDockZone> |
</telerik:RadDockLayout> |
As I said when I just had the panel on the page the rad window showed just fine. Also if I set the attribute "visibleonpageload" on the window itself. When the rdock initially loads on the page, the window will be shown.
Any reason why the window will not show any more?
Thanks