[Mono-bugs] [Bug 78041][Nor] New - Strange problem with Anthem.DataGrid and xsp2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 7 04:11:16 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 jwiegley at gmail.com.


--- shadow/78041	2006-04-07 04:11:16.000000000 -0400
+++ shadow/78041.tmp.14273	2006-04-07 04:11:16.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 78041
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 10.4.5 running 1.1.13 and (no difference)
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: jwiegley at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Strange problem with Anthem.DataGrid and xsp2
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+While using the Anthem library (for Ajax-based ASP controls) with Mono, I ran across the 
+following very strange problem.
+Steps to reproduce the problem:
+1. Download the Anthem library from http://anthem-dot-net.sourceforge.net/
+2. After unpacking a snapshot, cd into Anthem-Examples-2003, and type ./mono-build
+3. Run "xsp", and navigate to DataGrid.aspx.
+4. Click on Edit, edit a field, click Update, everything works.
+5. Now "rm -fr bin".  Edit mono-build and change "mcs" to "gmcs".
+6. Re-run ./mono-build.  It gets a few warnings about RegisterClientScript having moved.  And 
+this could well be where the problem lies, though I kind of doubt it.
+7. Now run "xsp2".  Navigate to DataGrid.aspx
+8. You can edit/cancel/delete just fine.  But try updating one of the fields.  The e.Item.Cells
+[X].Controls[0] control always gets the old value.  This is not an IsPostBack issue, because it 
+works fine using mcs and xsp.
+9. If you change the BoundColumn to a Template column, specify your own TextBox, and use 
+e.Item.Cells[X].FindControl("id-of-TextBox"), then things work fine again!  So something is 
+happening in the expansion of BoundControl...
+Actual Results:
+The Update silently fails, although nothing appears to be different between the two.
+Expected Results:
+That the update should succeed, as it does if you use your own TemplateColumn instead of 
+How often does this happen? 
+Every darn time.
+Additional Information:
+The Daily Show is a very funny program.

More information about the mono-bugs mailing list