[Mono-bugs] [Bug 79151][Wis] Changed - ReportBuilder crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Aug 25 17:02:58 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by unserkonig at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79151
--- shadow/79151 2006-08-24 19:42:07.000000000 -0400
+++ shadow/79151.tmp.27681 2006-08-25 17:02:58.000000000 -0400
@@ -106,6 +106,19 @@
at ReportBuilder.TestForm.Main () [0x00000]
------- Additional Comments From unserkonig at gmail.com 2006-08-24 19:42 -------
A Bitmap instance is being created with a Height = 0, which generates
the exception. I'm taking a deep look into the ReportBuilderCode, to
catch the error.
+
+------- Additional Comments From unserkonig at gmail.com 2006-08-25 17:02 -------
+Ok, the problem appears to be directly related to DataGrid.DataSource.
+When DataGRid.BeginInit () is invoked and then DataGrid.DataSource is
+assigned, it will remain with the previous value until
+DataGrid.EndInit () is called, and DataSource gets a refresh. In .Net,
+even when EndInit hasn't been called, DataSource acquires the new value.
+
+Now, I don't know enough about DataGrid, and probably this is a bad
+practice (to call EndInit without calling EndInit), but I think we
+have to solve this issue anyway.
+
+(The attached sample should print a value different than "null").
More information about the mono-bugs
mailing list