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; | ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control OverviewGetting StartedButton Type Standard ButtonIcon ButtonImage ButtonLink ButtonToggle ButtonSplit ButtonClient Prpgramming Button EventServer Programming Button EventASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control ASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control ASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control ASP.NET AJAX ListBox UI Control ASP.NET AJAX ListView UI Control ASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |