Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Control - Setting BindingSource
Message
From
02/12/2004 17:48:24
 
 
To
01/12/2004 16:16:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00966165
Message ID:
00966544
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform