Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Control - Setting BindingSource
Message
From
01/12/2004 14:58:37
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:
00966174
Views:
7
Hello, Scott

Check out MM help documentation section titled, "Programmatically Data Binding User Interface Controls."

We've done this with various user controls, and it seems to work just fine.

Hope that helps,
---J

>I have read all the posts that are similar to my question here, but the answers posted do not solve my particular issue, so I am posting my question which I will try to explain as best I can.
>
>I have:
>- 1 Form (we'll call FormA)
>- 2 User Controls (We'll call UC1 and UC2)
>
>User Control UC2 is a simple user control that has 2 controls on it, the mmUltraCombo and a standard text box. This user control will be placed on a number of other user controls such as UC1 (see next sentence).
>
>User Control UC1 has a couple of standard text boxes on it, PLUS the user control UC2.
>
>Form 1 has a datagrid, a couple of buttons, as well as User Control UC1.
>
>I have the set the binding source of the datagrid. I have set the binding source of the text boxes on user control UC1.
>
>Via the MM Framework when i click on a row in the datagrid (during runtime), the corresponding detail information shows up in the user control UC1, EXCEPT for the controls on the user control UC2.
>
>Obviously when i placed the user control UC2 on the usercontrol UC1 I am not able to set the binding source of that control like i can with the other controls on UC1.
>
>But I want the same functionality to happen. When i click on a record in teh datagrid on FormA, I want all the controls on UC1 (which include UC2) to dispay the detail information, and that includes the user control UC2 (the combo box on UC2 displays drop down information pertaining to the record selected in the datagrid).
>
>I sincerely hope this made sense. I can send a screen shot if that would help with clarification.
>
>Any information will be greatly appreciated.
>
>Scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform