c# - disable jquery blockUI in timer1_tick -


i have masterpage with function returns current date , time, problem everytime timer ticks, blockui being called.. there way can disable in particular event timer1_tick? thank in advance.

masterpage:

<asp:scriptmanager runat="server" id="mainscriptmanager" asyncpostbacktimeout="36000"/> <asp:updatepanel runat="server" id="updatepanel">     <contenttemplate>         <%=getdatetime()%>         <asp:timer id="timer1" runat="server" interval="1"></asp:timer></td>     </contenttemplate> </asp:updatepanel> 

codebehind:

public static string getdatetime() {     string currentdatetime = datetime.now.tostring();     return currentdatetime; }  protected void timer1_tick(object sender, eventargs e) {     getdatetime(); } 


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -