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

Update control without "thinking" icon

4 Answers 92 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Iron
Iron
Veteran
David asked on 11 Apr 2016, 03:27 PM

Sometimes i would like to update control without displaying spinning icon

Is there a way?

 

Thank you

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Apr 2016, 08:04 AM
Hi,

The spinning icon will appear only if you are using RadAjaxLoadingPanel:
http://docs.telerik.com/devtools/aspnet-ajax/controls/ajax/radajaxloadingpanel/overview

Regards,
Pavlina
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 12 Apr 2016, 12:08 PM

I tried to eliminate loading panel by doing the following:

 

<telerik:AjaxSetting AjaxControlID="ddlValueOfBenefitStreamByYear">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdValueOfBenefitsByYear" LoadingPanelID="RadAjaxLoadingPanel1"/>
                        <telerik:AjaxUpdatedControl ControlID="lblValueOfBenefitsByYear"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>

I still see spinning wheel above lblValueOfBenefitsByYear.

I also tried to expand panel across whole page by assigning Modal="true" to panel, which didn't work too

0
Pavlina
Telerik team
answered on 12 Apr 2016, 01:51 PM
Hi,

By setting LoadinPanelID in the AjaxSettings you are showing the spin icon. To prevent it from appearing update the AjaxManager Settings as shown below.
<telerik:AjaxSetting AjaxControlID="ddlValueOfBenefitStreamByYear">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdValueOfBenefitsByYear"/>
                        <telerik:AjaxUpdatedControl ControlID="lblValueOfBenefitsByYear"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>

Also make sure that you are not setting DefaultLoadingPanelID to the AjaxManager, because this property will also show the loading icon. Another solution would be to delete the complete RadAjaxLoadingPanel declaration from the page and not set loading panel for the updated controls.

Regards,
Pavlina
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 12 Apr 2016, 03:52 PM

DefaultLoadingPanelID was a culprit!

Thank you very much

Tags
AjaxLoadingPanel
Asked by
David
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Pavlina
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or