Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Control - Setting BindingSource
Message
From
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:
00966200
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform