I am working on a fancy design for a ASPX page, but I am having problems firing the buttons to run code. Here's what I have:
This is the ASPX code:
<button runat="server" id="btnLogin" onserverclick="LoginClick_Click"></button>
And the codebehind:
protected void LoginClick_Click(object sender, EventArgs e)
{
notice.Visible = true;
// Response.Redirect("");
}
I am clicking the button to see if anything shows up (even to a Blank broken page [yes I uncommented it]) but no go. I believe this is something simple but I've been struggling here for nearly an hour and no go. Joys of coding I guess.
Edit:
<button runat="server" id="btnLogin" OnServerClick="btnLogin_Click" ></button>
That worked. Capitalization it seems.