Hi,
I am assigning a dataset to the datasource property of my ultragrid. When I am making some changes on the datagrid it automatically updating my dataset too. Even though I made the update property of the grid only 'onUpdate'. There is no change.
Can you help me out??
The OnUpdate mode was carried over from the ActiveX version of the grid, but it actually cannot work in DotNet, because of the way the DotNet BindingManager works.
There's a discussion about this here: UltraGrid.UpdateMode and BindingList<T> data source - Infragistics Community
Let me tell in more detail.
Let my grid name is myDataGrid and I create two datasets as DataSet1 and DataSet2
and I am getting values from database into DataSet1 and assigned it as a datasource to myDataGrid and also put a copy of values within DataSet2 like
myDataGrid.DataSource = DataSet1
DataSet2 = DataSet1
If I change a value within grid it is also modifying DataSet1 and also DataSet2.
How can I avoid this problem. I only want myDataGrid to Update when the user click on SAVE button