Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmDataGrid.BindingSource -- sequence of events?
Message
From
02/03/2005 17:24:48
 
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00992057
Message ID:
00992192
Views:
19
Hi Mere Mortals,


I found a way to change the MmDataGrid.BindingSource and then get the grid to load data from the changed-to bizobj:
private void MmButton1_Click(...
{
   DataSet dsNewBizObj = this.oNewBizObj.GetAllRecs();
   this.MmDataGrid1.BindingSource = NewBizObj;
   this.BindControl(this.MmDataGrid1);
}
Thanx to all that were thinking about this.
Neil



>Hi,
>
>Does any of you Mere Mortals know, in the life cycle of a MmDataGrid control, when the BindingSource property is applied. And.... is there a way to programmatically change the BindingSource property of MmDataGrid and fire the sequence of events necessary to bind the grid to the changed-to bizobj and make certain that MmDataGrid renders with the changed-to data.
>
>Regards,
>Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform