Hi
I recently upgraded to Q1 2009 version and everything seems to be going ok. However, my Loading panel now shows two loading images. I am using a custom image, so it shows that + the default loading image.
As you can see that the loading panel is inside a RadAjaxPanel. The button on line 11 (just there to explain this issue) does a postback. The userEditRequestStart function is called by the ClientEvents-OnRequestStart of the RadAjaxPanel. In this function, i hide the formPanel. At this point the only thing visible is the Loading Panel with my custom image. However it also dispays the default image as well.
Finally, the userEditRequestEnd method is called by ClientEvents-OnResponseEnd event and i show the formPanel.
Also, is there an easy way to show hide updating content while using the loading panel? e.g. tell the ajaxpanel the container id which will be hidden on postback and shown on completion without writing the javascript the way i have been?
I recently upgraded to Q1 2009 version and everything seems to be going ok. However, my Loading panel now shows two loading images. I am using a custom image, so it shows that + the default loading image.
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" | |
ClientEvents-OnRequestStart="userEditRequestStart" ClientEvents-OnResponseEnd="userEditRequestEnd" | |
Style="overflow: hidden" > | |
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Width="100%" Height="100%"> | |
<div class="loaderPanelStyle"> | |
<asp:Image ID="ajaxLoader" runat="server" SkinID="loaderGif" CssClass="loaderGifStyle" /> | |
<asp:Label ID="lblloader" runat="server" Text="Loading..." CssClass="loaderTextStyle"></asp:Label> | |
</div> | |
</telerik:RadAjaxLoadingPanel> | |
<div id="formPanel"> | |
<button>do postback</button> | |
</div> | |
</telerik:RadAjaxPanel> |
As you can see that the loading panel is inside a RadAjaxPanel. The button on line 11 (just there to explain this issue) does a postback. The userEditRequestStart function is called by the ClientEvents-OnRequestStart of the RadAjaxPanel. In this function, i hide the formPanel. At this point the only thing visible is the Loading Panel with my custom image. However it also dispays the default image as well.
Finally, the userEditRequestEnd method is called by ClientEvents-OnResponseEnd event and i show the formPanel.
Also, is there an easy way to show hide updating content while using the loading panel? e.g. tell the ajaxpanel the container id which will be hidden on postback and shown on completion without writing the javascript the way i have been?