- Online Barcode Generator
- How To
- Buy Now
Information to Icon Button
In the real life application, to make a control become more intuitive, we may add an icon or two to the button at specified position. And we can call this kind of button as icon button. Actually, icon button can be easily regarded as an enhanced version of the standard button. Thus, icon button contains all the properties that standard button has owned.
In this part, we will offer detailed guidance on how to customize the settings of icon properties. And since we can add one or two icons to the button, the icon can be mainly divided into two categories, which are PrimaryIcon and SecondaryIcon. Users are free to choose to set one or both of these two icons. Note: both PrimaryIcon and SecondaryIcon have their default properties.
How to Build a Simple Icon Button
In this part, we offer you a detailed coding guidance on how to create an icon 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 into your ASP.NET web application.
<kettic:PerButton ID="PerButton1" runat="server" Text="Two Icon Button" Height="50" Width="200">
Following picture is a screen shot of the output of above ASP.NET icon button creating application.
Related Icon Button Links
Here we recommend a link for those who want to build an icon button in ASP.NET web application using C# code. View more at build icon button using c#.
ASP.NET AJAX UI Controls