Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

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

$
0
0

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

4.6

4.7.2

IIS Version

10.0.1439.0

10.0.1763.1

 

Below is the code snippet: Here HideExcelProgress_Tick event is not getting triggered intermittently . Also tried changing the Ajax tool kit optionCombineScripts="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>

    <ContentTemplate>

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

             <div id="divSubExcel" runat="server" style="border: 1px solid gray; width: 250px; position: absolute; 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>

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

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

                                </td>

                            </tr>

                        </table>

                    </div>

   </ContentTemplate>

   </asp:UpdatePanel>

 

Any help is highly appreciated.

 

Thanks

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>