Free Trial Buy Now

List Editors - Moving Items Between Two List Boxes

Available:
 
ASPxEditors Library
ASPxGauges Suite
ASPxGridView and Editors Suite
ASPxHTMLEditor Suite
ASPxperience Suite
ASPxPivotGrid Suite
ASPxScheduler Suite
ASPxSpellChecker
ASPxTreeList Suite
XtraReports Suite
XtraCharts Suite
Add >
Add All >>
< Remove
<< Remove All
Chosen:
 

Description

This demo illustrates how all items or only selected ones can be moved from one ASPxListBox to another on the client side in response to button clicks.

Selected items are obtained by using an editor's client GetSelectedItems method. Moving items is performed by removing them from one editor's Items collection (via the client RemoveItem method) and adding them to another editor (via the client AddItem method).

Note that the client BeginUpdate and EndUpdate methods are used by both editors to encapsulate item moving code. This is required to avoid repetitive operations (such as editor size correction) until all items are moved.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.