$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
How to Build Link Button Using c#
Home > How to > Link Button
What is link button? Link button is a button type which is able to navigate users to other web page when it is clicked. This button type owns all the properties that standard link has supported. How to create a link button in ASP.NET web application using Visual C# .NET programming code? The PerButton from our ASP.NET AJAX control has the ability to add a fully customized link button to aspx web page. And this article aims to provide users with a detailed and clear guidance on the creation of a simple link button using C# sample code.

Set Button Type to Link Button in C#

The ButtonType property is offered to help users specify the button type that they want to create in the ASP.NET web application. Other available button types include standard button, icon button, image button, toggle button and split button.
PerButton1.ButtonType = PerButtonType.LinkButton;

Define Navigate URL in C# Code

After specifying the button type, it is time to define the link that you want to navigate the users to.
PerButton1.NavigateUrl = "http://www.kettic.com";

Customize the Size of the Link Button in C# Code

Apart from the property to customize the unique features of link button, our PerButton also offers other properties to customize the general settings of the link button, like the appearance style. Here we offer C# code for you to customize the width & height of the link button.
PerButton1.Width = 200;
PerButton1.Height = 30;
ASP.NET AJAX UI Controls