Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple User Controls Need to Bind to Business Object
Message
De
28/06/2005 11:51:39
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01023613
Message ID:
01027087
Vues:
26
Kevin,

Thanks for your reply!

I am setting the BindingSourceMember property of each control at design time in the properties list.

Let me try to better explain my situation.

I have more than a dozen mmUserControls with mmControls that are built and bound in design mode. Then I have an Infragistics tab control on my page where I dynamically add tabs and instantiate the mmUserControls on the tabs at run time as the user picks different products. Some of the products require several user controls in order to get all the information and the user goes from tab to tab to enter all the information before they save. This all works well.

Though the mmUserControls are registered to the page and the page is registered to the business objects, most of the responsibility of calling the business objects is handled in the page code behind, not the user controls. When I call business object methods from the user controls the mmControls bind as they are suppose to. It seems that when I make the calls from the page code behind the mmUserControls are not aware of the method call and do not bind.

I might be getting things mixed up and I still might not be correctly articulating the problem to you, but I hope this is better.

I need for the mmControls on the mmUserControls on the Tab Control on the page to bind to old records and bind back before a SaveDataSet call. I now have some methods that do this manually, but I think that defeats the features that the framework should supply.

Thanks in advance for your help!

Bill Williams
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform