Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Control - Setting BindingSource
Message
De
01/12/2004 16:16:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
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:
00966200
Vues:
10
Scott,
Sounds like this is a timing issue and perhaps your control has already "missed the boat," so to speak, for MM's automagic databinding.

Therefore, yes, I would call the RegisterBoundControl method -- before the code that performs the datapull, if you hadn't already figured that one out :`)

---J

>Jason,
>
>Thanks for the reply. I failed to mention in my original post that i have implemented the ISupportIntialize of the usercontrol UC2, in which on the EndInit I am setting the BindingSource of the mmUltraCombo. This still does not seem to work.
>
>However, after reading your post and reading the section you recommended "Programaticlly Data Binding User Interface Controls", because I am using the UltraCombo, I do not have access to BindingSourceMember, whereas I do have access to BindingSourceValueMember and BindingSourceDisplayMember which I have both set in the EndInit. Even with all of these set, it still does not seem to be binding.
>
>Should I be setting these "NOthing" so that the registration is triggered?
>
>Would calling the RegisterBoundControl method help as well?
>
>Thanks again...
>
>Scott
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform