Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmMoverControl
Message
 
À
02/08/2005 11:28:01
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01037877
Message ID:
01038156
Vues:
24
Lori,

>I'm trying to use the mmMoverControl, with no luck. What I would like to do is populate the available list with available team members on the left. These would be coming from table A. I would like to populate the selected list with team members already selected, table B. When the user 'selects' a member from the available list, I want a record to be created in table B, copying information from one row to the other. I can get the data to load properly, with the available members on the left, and the selected members on the right. The problem is when I try to move someone over from the available to selected, nothing happens. I have my mover control properties set as follows:
>
>AvailableListBindingSource: Table A
>AvailableListBindingSourceDisplayMember: TableA.name (member name)
>AvailableListBindingSourceValueMember: TableA.name (member name)
>
>SelectedListBindingSource: Table B
>SelectedListBindingSourceDisplayMember: TableB.name
>SelectedListBindingSourceValueMember: TableB.name
>
>Has anyone used the mmMoverControl with any success? If so, could you please offer some insight on how it could be useful in my situation. Thank you!

I recommend setting a breakpoint in mmMoverControl.MoveItem() to see what's happening. Also, you can check out mmUsersForm for a live example of the mover class in action.

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform