This is a migrated thread and some comments may be shown as answers.

RadAjaxLoadingPanel with Submit button

3 Answers 105 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 16 Oct 2011, 06:34 PM

Hi,

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?

Regards,
Bader

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 18 Oct 2011, 06:12 AM
Hello,


<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="Button1">
               <UpdatedControls >
                   <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>
   <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>
   </asp:Panel>
Button1_Click()
{
 Label1.Text = "Your text should come here":
}


Thanks,
Jayesh Goyani
0
Bader
Top achievements
Rank 1
answered on 27 Oct 2011, 09:15 AM
Hi,

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,

Regards,
Bader
0
Maria Ilieva
Telerik team
answered on 31 Oct 2011, 10:31 AM
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:
http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html

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
Tags
Ajax
Asked by
Bader
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Bader
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or