Information to Split Button
What is split button and what is split button used for? To answer these two questions, we offer some general introductions to split button here. The main benefit of this split button type is that it can enhance the usability of the primary button by adding an extra button next to the main button. To put it in another way, there are two lists and we put a split button in the middle of these two lists. Then when we select one item in the left list and click this button, the selected item will be displayed in the right list.
And the position of the additional button is not fixed and you can add it to the right or left side of your main button by setting related property. When setting the position of the additional button, there is one important note that you may need to keep in mind that it is not feasible to have both primary icon and extra button to be positioned at the left side of the main button. And it is the same for setting secondary icon and the additional button at the right side of the main button. Example
In this section, we aims to offer a brief answer to the question that how to create a split button in asp.net web application. And in following example to illustrate the creation of a split button in aspx web page, you need to use other two controls from our ASP.NET AJAX, which are PerLishBox and PerContextMenu.
First, we need to add two lists and input some data into the first list using the PerListBox control. Then when selecting certain item in PerListBox, we can use the button to switch freely between these two lists.
In following asp.net codes, we will guide you to call different button events and use various button properties to create a simple split button in client-side application. ASPX<table border="1px" style="border-color: #1e90ff"> JavaScript<scripttype="text/javascript">
If you met any problems in the process of testing following split button creating codes, please feel free to contact us. | ![]() 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 Button Client 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 |