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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -