Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Control - Setting BindingSource
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
User Control - Setting BindingSource
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00966165
Message ID:
00966165
Vues:
87
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform