(ASP.NET) Button event not firing the first 30 seconds -


i'm having weird issue button's click event not being fired while (around 20-30 seconds) , starts work normal. refresh page , have wait work again.

please note this: works when run in debug on localhost, behavior described found on server. i'm starting suspect server-side issue, don't have access , need pin-point might causing people in charge of (if it's indeed server-side issue).

any locate issue appreciated! stripped page down basics , have.

asp:

 <%@ page language="c#" autoeventwireup="true" codefile="default.aspx.cs" inherits="_default" %>     <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd (http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd)">  <html xmlns="http://www.w3.org/1999/xhtml (http://www.w3.org/1999/xhtml)">  <head runat="server">      <title></title>  </head>  <body>      <form id="form1" runat="server">      <div>           <asp:button id="button1" runat="server" onclick="button1_click" text="button" />       </div>      </form>  </body>  </html> 

code-behind:
using system; using system.collections.generic; using system.linq; using system.web; using system.web.ui; using system.web.ui.webcontrols;

public partial class _default : system.web.ui.page  {      protected void page_load(object sender, eventargs e)      {       }      protected void button1_click(object sender, eventargs e)      {          response.redirect("http://www.google.se/ (http://www.google.se/)");       }  } 

config:

<configuration>    <system.web>      <compilation debug="true" targetframework="4.0"/>    </system.web>  </configuration> 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -