Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
Jason,
Thank you for all your help, I truly appreciate it.
I am still a little bit in the dark on this, so please forgive me.
Where do I call RegisterBoundControl? From the form (FormA)? I do not have that option on any of the user controls (because they are user controls).
I backed up a little bit and got rid of User Control 2 and just placed a simple mmUltraCombo on User Control 1 just to test.
This combo uses a business object to get its data and the usercontrol and main form use a second business object for its data. When i select a record in the datagrid I want the corresponding record looked up in the combo.
I have set all the binding properties on the combo (BindingSource, BindingSourceDisplayMember, BindingSourceValueMember from the businessobject that populates the combo...AND BindingValueSource, BindingValueSourceMember from the business object teh populates the form and usercontrol) and it does indeed change when I select a record in the Datagrid. HOWEVER, it does not show the correct column and I cannot find a way to change it.
I have a lot of hair, and i am about bald pulling it all out. :-)
Any ideas? I figure that if I can get this working, I'll save what's left of my hair and be able to apply it to the second user control.
Thanks...
Scott
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement