J
Jonathan Wood
Does anyone know of any reason a button on a master page would have no
effect?
I have a complex HTML page that I'm converting to ASP.NET, and acknowledge I
could have something odd that is affecting this.
But I'm stuck. My handler is in C# code and the code looks right. But
absolutely nothing happens when I click the button.
protected void Button1_Click(object sender, EventArgs e)
{
Button1.Text = "Button1_Click";
}
<p>
<asp:Button runat="server" Text="Button" id="Button1"
OnClick="Button1_Click" /></p>
Thanks for any tips.
effect?
I have a complex HTML page that I'm converting to ASP.NET, and acknowledge I
could have something odd that is affecting this.
But I'm stuck. My handler is in C# code and the code looks right. But
absolutely nothing happens when I click the button.
protected void Button1_Click(object sender, EventArgs e)
{
Button1.Text = "Button1_Click";
}
<p>
<asp:Button runat="server" Text="Button" id="Button1"
OnClick="Button1_Click" /></p>
Thanks for any tips.