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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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"). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
