RadAjaxLoadingPanel with Submit button

4 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 16 Oct 2011 Link to this post


    Since I can't use radajaxpanel and RadAjaxManger controls with the Radupload control, can I use the RadAjaxLoadingPanel control with it, I mean, Is it possible to show the RadAjaxLoadingPanel control (the loading image) while processing the Submit button process until the postback event occures ?

    If it is possible, can you please explain how can I do that?


  2. Jayesh Goyani
    Jayesh Goyani avatar
    2733 posts
    Member since:
    May 2010

    Posted 18 Oct 2011 Link to this post


    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
               <telerik:AjaxSetting AjaxControlID="Button1">
                   <UpdatedControls >
                       <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
       <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" />
       <asp:Panel ID="Panel1" runat="server" Height="500px" Width="600px">
         <asp:Label  ID="Label1" runat="server"></asp:Label>
     Label1.Text = "Your text should come here":

    Jayesh Goyani
  3. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 27 Oct 2011 Link to this post


    Thank you for your reply,
    I think that you didn't understood my question.
    You know, when placing RadUpload control within a RadAjaxPanel or RadAjaxManager, it is not working. So I placed it out of the ajax controls and it is working now but the LoadingPanel is not displayed by clicking the submit button. All I need to display the LoadingPanel even if there is a RadUpload control. It is possible? if so, how?

    Please, I need your help,

  4. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 31 Oct 2011 Link to this post

    Hello Bader,

    Unfortunatelly the required functionality could not be achieved with the RadAjaxLoadingPanel. The LoadingPanel actually provides client methods for explicitly show and hide a panel without the need of ajax request however there is no appropriate client event of the RadUpload to hide this LoadingPanel on. However if you need to hide it manually you can use the approached provided in the following help topic:

    All the best,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top