c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
.Net

Can make a call from HTML button to server side page

| | ASP-NET

You can call any server side control by defining runut=”server” and onServerClick for HTML button and you can not do with asp button.

  <button runat="server" onserverclick="Button1_Click">click me</button>
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
   


     
protected void Button1_Click(object sender, EventArgs e)

        {
        }