$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Link Button in ASP.NET AJAX
Home > How to > Link Button

Information to Link Button

Link button is one of the six major button types that this ASP.NET AJAX supports. Other five button types are standard button, icon button, image button, toggle button and split button. The link button is created to offer a "linkbutton" look of the control and this button type has one distinguishing feature that it allows users to attach a link to visit without requiring a page post back to the server. In this article, you will find detailed guidance on how to create a link button in ASP.NET web application.

Link Properties

The link button use <span> element to specify the link text. Besides, the link button owns all the properties that the standard button has supported. And here we will mainly talk about two properties that link button has owned.
  1. ButtonType: Set button type property to LinkButton.
  2. NavigateUrl: it refers to the url that users will be navigated to when they click the button.

How to Build a Simple Link Button

In this part, we offer you a detailed coding guidance on how to create a link button in ASP.NET web application. To achieve AJAX effect, please drag an AjaxPanel component from toolbox to aspx web page and then drag a button control from toolbox to that AjaxPanel. By the way, please make sure that you have installed .NET Framework 3.5 or above versions and that you have installed all the necessary dlls into your ASP.NET web application.
<kettic:PerButton ID="PerButton1" runat="server" ButtonType="LinkButton" Text="Link Button-www.kettic.com" NavigateUrl="http://www.kettic.com" >
Here we attach a screen shot of the output of above ASP.NET link button building application.

Related Link Button Tutorial

Here we recommend a link for those who want to build a link button in ASP.NET web application using C# code. View more at build link button using c#.