ASP.NET click event confusion
I’m really confused. 😕. In ASP.NET, to capture a click event in C#, would I use runat=”server” and onclick=”emnt_Click()”, or elmt.onclick = elmt_Click(), or elmt.Attributes.Add(“onclick”,”elmt_Click()”, or just have this: private void elmt_Click() { // Code } Do they all work? I’m really confused. 🙁 Please help :):):) Answers: Thank you for visiting the Q&A section … Read more