ASP.Net AjaxToolKit Timer control Tick event is not triggered intermittently in windows 2019 RRS feed

  • Question

  • User502715949 posted

    ASP.Net AjaxToolKit Timer control Tick event is not triggered intermittently


    We are using  asp:Timer while loading Excel Documents, The OnTick event of the Timer control is not getting fired intermittently. This was working fine earlier but causing the issue after upgrading the web server to 2019


    Below are our old and new environment details:



    Old Environment

    New Environment

    Operating system

    Windows Server 2016

    Windows Server 2019

    .Net framework Version



    IIS Version




    Below is the code snippet: Here HideExcelProgress_Tick event is not getting triggered intermittently . Also tried changing the Ajax tool kit option CombineScripts="False” but that did not help.


    <asp:Timer runat="server" ID="ExcelUpdateTimer" Interval="1000" OnTick="HideExcelProgress_Tick" Enabled="false" />

        <asp:UpdatePanel ID="updatePanelExcel" runat="server" UpdateMode="Always">

        <Triggers><asp:AsyncPostBackTrigger ControlID="ExcelUpdateTimer" EventName="Tick" /></Triggers>


          <div id="divExcel" runat="server" style="width: 100%; height: 100%; background-color: White; filter: alpha(opacity=50); opacity: 0.5; z-index: 10; ; left: 0px; top: 0px; display: none;"> </div>

                 <div id="divSubExcel" runat="server" style="border: 1px solid gray; width: 250px; ; left: 450px; top: 350px; background: White; z-index: 11; padding: 5px; filter:    alpha(opacity=100); opacity: 1; display: none;" aria-labelledby="lblExcelProgress" tabindex="0">

                            <table cellpadding="0" cellspacing="0" border="0" width="100%">

                                <tr valign="top">

                                    <td align="right" style="vertical-align: middle">

                                        <img src="Images/ProgressBar.gif" alt="" id="Img2" />&nbsp;


                                    <td align="left" style="vertical-align: middle">

                                        <acesec:Label ID="lblExcelProgress" runat="server" Text=""></acesec:Label>








    Any help is highly appreciated.




    Sunday, March 1, 2020 2:23 AM

All replies

  • User-1330468790 posted

    Hi, Rajanish R Karla,


    I have tried your code from my side and it works perfectly (.Net Frame 4.7.2, Windows 10, Chrome). 

    I found that you set the property "Enabled" of timer to "false" so that you might have had a button/other control to make the timer working in code, which is not posted. 



    According to the information your gave, it is hard to find the reason of the problem. 

    Here I suggest you debug (Press 'F12' in the browser) for your project to see if there is any error message about the process of the loading for Javascript libraries since you mentioned that you changed the environment. 

    You could post this debug information again and it would be helpful to target the problem.



    Your problem is possibly related to 'Ajax client-side framework loading'.

    If you are using <asp:ScriptManager>, you can set the EnableCdn="true". When you enable the CDN with the ScriptManager, your application will retrieve all JavaScript files that it normally retrieves from the System.Web.dll or System.Web.Extensions.dll assemblies from the CDN instead.  This includes both the JavaScript files within ASP.NET AJAX, as well as the built-in Web Forms JavaScript files (for example: the WebUIValidation.js file for client-side validation, and the JavaScript files for controls like TreeView, Menu, etc).

    Hope this can help you.


    Best regards,


    Monday, March 2, 2020 9:53 AM
  • User753101303 posted


    Start by looking at what happens and in particular F12 Network to see what happens for the Ajax request and F12 Console to see if you could have a JavaScript error.

    Monday, March 2, 2020 10:47 AM