Update control without "thinking" icon

5 posts, 0 answers
  1. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 11 Apr Link to this post

    Sometimes i would like to update control without displaying spinning icon

    Is there a way?

     

    Thank you

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 12 Apr Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 12 Apr Link to this post

    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

  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 12 Apr Link to this post

    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.
  6. David
    David avatar
    159 posts
    Member since:
    Mar 2014

    Posted 12 Apr in reply to Pavlina Link to this post

    DefaultLoadingPanelID was a culprit!

    Thank you very much

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017