Author: toshok
Date: 2006-12-04 17:28:47 -0500 (Mon, 04 Dec 2006)
New Revision: 69001
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
Log:
* DataGridTextBoxColumn.cs: remove some spew.
* DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
but some part of me is saying "it shouldn't be here.." At any
rate, it fixes bug #80046. Call IEditableObject.EndEdit after
setting the value.
2006-12-04 Chris Toshok <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-04 22:12:24 UTC (rev 69000)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-04 22:28:47 UTC (rev 69001)
@@ -1,5 +1,14 @@
2006-12-04 Chris Toshok <[EMAIL PROTECTED]>
+ * DataGridTextBoxColumn.cs: remove some spew.
+
+ * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
+ but some part of me is saying "it shouldn't be here.." At any
+ rate, it fixes bug #80046. Call IEditableObject.EndEdit after
+ setting the value.
+
+2006-12-04 Chris Toshok <[EMAIL PROTECTED]>
+
* DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
to reassign the propertydescriptor.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
2006-12-04 22:12:24 UTC (rev 69000)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
2006-12-04 22:28:47 UTC (rev 69001)
@@ -484,6 +484,9 @@
editable.BeginEdit ();
property_descriptor.SetValue (source [rowNum], value);
+
+ if (editable != null)
+ editable.EndEdit ();
}
protected virtual void SetDataGrid (DataGrid value)
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
2006-12-04 22:12:24 UTC (rev 69000)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
2006-12-04 22:28:47 UTC (rev 69001)
@@ -139,7 +139,6 @@
}
}
catch (Exception e) {
- Console.WriteLine ("exception!?!?!?! {0}", e);
return false;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches