Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dialog Forms
Message
From
12/07/2004 12:19:18
Del Despain
Colorado Plateau Associates
Hurricane, Utah, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00917063
Message ID:
00923389
Views:
19
>Del,
>
>>Ok, I get a reference to the business object of the parent form and register it as a business object of the dialog form. However, controls on the dialog form show no data until I requery the data via the business object.
>>
>>What am I missing?
>
>If you've already retrieved data at the point where the second form launches, the UI controls on the second form never get a chance to respond to the event that was originally raised when the business object retrieved data on the main form. All you need to do is call the form's BindAllControls method (this code needs to be run after the call to InitializeComponent).
>

This works for all controls except a datagrid, which still won't display the data. I know the grid is set up correctly because it will display correctly if I ask the business object to retrieve the data again (requery). There must be another method or something not being called that applies to the datagrid, but I can't find it.

Thanks!

Del
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform