Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmMoverControl Usage
Message
 
To
18/05/2004 09:58:02
Bob Thomsen
Fabtrol Systems, Inc
Eugene, Oregon, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00904909
Message ID:
00904938
Views:
21
>The mmMoverControl in the MM sample uses a view for the available list and a view for the selected list. I have a table with a project name field and I want the user to pick one or more distinct project names from the list. It is straightforward to bind the available list to my project list, but does the mover control require that I create a new table for the selected items? Or is there a way to add and remove items directly from the two contained list objects? It looks as though the mover control must be bound to 2 tables or views.

I recommend creating a second DataTable to hold items in the Selected list. You can programmatically add/remove items by calling the mover control's MoveItem(), MoveAllItems(), RemoveItem() or RemoveAllItems() methods, but the control is a data-bound mover that assumes there is a DataTable or DataView to which the Selected list is bound.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform