Onclick is not working in google chrome for the alternate times in asp.net
<p>I have a button in my aspx page which has on click event.</p>

<pre><code>&lt;asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
            Text="Save changes" /&gt;
</code></pre>

<p>Now the Button2_click is not called for the alternate times, i.e. it will be called when clicked for 2nd,4th,6th..but not for the 1st,3rd,5th... time.</p>

<p>The pageload is called each time but the button_click is not called.This is working fine in IE but having this issue in chrome.</p>

<p>Please tell me what can be done over this.</p>

<p><strong>Update</strong></p>

<pre><code>  protected void Page_Load(object sender, EventArgs e)
    {     
        contentID = Convert.ToInt32(Request.QueryString["contentid"]);
        if (contentID != 0)
        {
                if (!IsPostBack)
                {
                getContentBody(contentID);
                TextBox1.Text = content;
                msg_lbl.Text="Inside if"+content;
                }
                else{
                msg_lbl.Text="Inside else";
                }

            }


            else
                Response.Write("Invalid URL for article");


    }

protected void Button2_Click(object sender, EventArgs e)
    {
            //string textboxvalue = Request.Form[TextBox1.UniqueID];
            Response.Write("Inside button");
            mycon.Open();
            string query = "update content set content='" +TextBox1.Text + "' where contentID= '"+contentID +"'";
            msg_lbl.Text = query;
            try
            {
                MySqlCommand command1 = mycon.CreateCommand();
                command1.CommandText = query;
                command1.ExecuteNonQuery();
                mycon.Close();
                getContentBody(contentID);
                TextBox1.Text = content;
                //msg_lbl.Text = "text" + TextBox1.Text;
               // msg_lbl.Text = "text" + TextBox1.Text;
            }
            catch (Exception ex)
            {
                msg_lbl.Text = "Exception in saving data" + ex;
            }
            finally
            {
                mycon.Close();

            }


    }
</code></pre>
