* DataGridTextBoxColumn.cs: remove some spew.
authorChris Toshok <toshok@novell.com>
Mon, 4 Dec 2006 22:28:47 +0000 (22:28 -0000)
committerChris Toshok <toshok@novell.com>
Mon, 4 Dec 2006 22:28:47 +0000 (22:28 -0000)
* 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  <toshok@ximian.com>

svn path=/trunk/mcs/; revision=69001

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs

index fcc454e5e12fa7076d1a7de2e38910dcecbefa17..f52510d8b6e298b411a1e7c64d4360ce81dd5445 100644 (file)
@@ -1,3 +1,12 @@
+2006-12-04  Chris Toshok  <toshok@ximian.com>
+
+       * 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  <toshok@ximian.com>
 
        * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
index ea756820ae707d168e44c8e471e2f9bbd7065a2f..ab40ab003eda7572b9f261ca7de231a6e84855ec 100644 (file)
@@ -484,6 +484,9 @@ namespace System.Windows.Forms
                                editable.BeginEdit ();
 
                        property_descriptor.SetValue (source [rowNum], value);
+
+                       if (editable != null)
+                               editable.EndEdit ();
                }
 
                protected virtual void SetDataGrid (DataGrid value)
index dac9b40039add1de0d6cae543681114d3d5334d0..3beb114343ab00d6da622f95acb33912eccd447a 100644 (file)
@@ -139,7 +139,6 @@ namespace System.Windows.Forms
                                }
                        }
                        catch (Exception e) {
-                               Console.WriteLine ("exception!?!?!?! {0}", e);
                                return false;
                        }