I have a complicated, though I suspect not unique scenario.
1. I have a page that is used to edit a record on a database. The edit screen is shown as a popup form within the main page using a RadWindow control (definition as thus:...)
2. The popup page uses a master page to control the look and feel etc.. This has the following defined on the top of the page:
3. The popup page (content page not master page) has a checkbox on it to show / not show a datetime picker. On checking the checkbox, the page should callback to the server to see if the datetime picker should be visible or not... The page has the following in the code:..
At the top of the page:
It seems to me that all of the AJAX is working well... the date picker control appears / hides correctly and all of the RadAlert messages appear correctly. All of the AJAX looks ok!
However, the problem is that my loading panel is never displayed... ever! :(
This is causing me:
(a) serious headaches as I've spent lots of hours looking at it
(b) project slippage caused by (a)
(c) lots of abuse from customers as this looks poor without a "please wait" message
Please help me try to recover my sanity
Simon
1. I have a page that is used to edit a record on a database. The edit screen is shown as a popup form within the main page using a RadWindow control (definition as thus:...)
<telerik:RadWindow ID="wndPopup" runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" Skin="ControlCentre" VisibleOnPageLoad="false" VisibleStatusbar="false" VisibleTitlebar="true" Modal="true" ShowContentDuringLoad="false" Behaviors="Close" style="z-index:8000 !important" > </telerik:RadWindow> |
2. The popup page uses a master page to control the look and feel etc.. This has the following defined on the top of the page:
<form id="form1" runat="server"> |
<telerik:RadScriptManager id="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" /> |
<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" EnableAJAX="true" EnableHistory="true" EnableEmbeddedScripts="true" DefaultLoadingPanelID="pnlLoading2" > </telerik:RadAjaxManager> |
<telerik:RadAjaxLoadingPanel id="pnlLoading2" Runat="server" IsSticky="true" CssClass="divPleaseWait" InitialDelayTime="1" MinDisplayTime="250" > |
<div class="divPleaseWaitSmall"> |
<div class="divPleaseWaitMsg"> |
<asp:Image ImageUrl="~/_img/loading.gif" AlternateText="Please Wait" ID="Image2" runat="server"/><br /> |
<p><strong>Please Wait</strong><br />We're working on your request...</p> |
</div> |
</div> |
</telerik:RadAjaxLoadingPanel> |
<telerik:RadWindowManager id="wndManager2" runat="server" Skin="ControlCentre" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" ></telerik:RadWindowManager> |
The RadWindowManager is used to show nice alerts to the user indicating that the validation isn't correct etc...
3. The popup page (content page not master page) has a checkbox on it to show / not show a datetime picker. On checking the checkbox, the page should callback to the server to see if the datetime picker should be visible or not... The page has the following in the code:..
At the top of the page:
<asp:Content ID="Content5" ContentPlaceHolderID="cphServerControls" Runat="Server"> |
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="chkDateEd" EventName="CheckedChanged"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="lblNotDiscontinued" /> |
<telerik:AjaxUpdatedControl ControlID="dtpDateEnd" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="hidUpdateField" EventName="ValueChanged"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="cphMainPage" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManagerProxy> |
</asp:Content> |
In the content of the page:
<asp:Panel ID="Panel6" runat="server" CssClass="divStandardForm"> |
<asp:Label CssClass="formlabel" ID="lblEndDate" AssociatedControlID="pnlDateEnd" Text="End Date:" runat="server"></asp:Label> |
<asp:Panel id="pnlDateEnd" runat="server"> |
<asp:CheckBox runat="server" ID="chkDateEd" AutoPostBack="true" /><span> <asp:label ID="lblNotDiscontinued" runat="server" CssClass="OkData" Text="Continues, Click To Set Date"></asp:label><telerik:RadDateTimePicker ID="dtpDateEnd" runat="server" PopupDirection="TopLeft" ></telerik:RadDateTimePicker></span> |
</asp:Panel> |
</asp:Panel> |
It seems to me that all of the AJAX is working well... the date picker control appears / hides correctly and all of the RadAlert messages appear correctly. All of the AJAX looks ok!
However, the problem is that my loading panel is never displayed... ever! :(
This is causing me:
(a) serious headaches as I've spent lots of hours looking at it
(b) project slippage caused by (a)
(c) lots of abuse from customers as this looks poor without a "please wait" message
Please help me try to recover my sanity
Simon