Information to ListBox Drag and Drop Feature
In the tutorial page Reorder feature of ListBox and Transfer feature of ListBox, we know that we can change the listbox item order by using the up or down button and that we can transfer items between listboxes using the transferring buttons.
And in this online tutorial, we aim to guide users to achieve the item reordering and transferring functions with an easy drag and drop action. How to Enable Drag and Drop Function
In this section, we will offer developers with two methods for activating the drag and drop function within the ListBox Control. One is through programming code and the other is via client-side events. Sample Programming Code for Activating Drag and Drop FunctionPerListBoxSource.EnableDragAndDrop = true;
The EnableDragAndDrop property provided by the PerListBox control is designed to enable or disable the drag and drop function. If you set this property to true, then you can change the item order by dragging a listbox item to any desired location of the list and you can transfer items between listboxes by dragging one item from one listbox and drop it to another listbox on the condition that you allow the item reordering and transferring functions to be used.
Here we attach an image which shows the result of applying drag and drop function in the item transferring project. Client-side Events for Activating Drag and Drop Function
Here we just simply mention the method to fire some drag and drop related events at client side.
Other ListBox Related Features
Apart from the drag and drop function, the PerListBox Control also offers other advanced item managing features, like
|
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 ASP.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 OverviewGetting StartedElementsFeatures ReorderTransferDrag and Drop Button ConfigurationCheckBoxesLoad On DemandTemplatesData Binding XML DataDataSource DataClient Prpgramming ListBox EventServer Prpgramming ListBox EventASP.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 |