[Mono-bugs] [Bug 80582][Wis] Changed - GridView RowCommand Not Fired

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 25 08:28:43 EDT 2007


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 mhabersack at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80582

--- shadow/80582	2007-02-19 15:39:00.000000000 -0500
+++ shadow/80582.tmp.10795	2007-04-25 08:28:43.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 80582
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Wishlist
 Component: Sys.Web
 AssignedTo: mhabersack at novell.com                            
 ReportedBy: kyklovod at abv.bg               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: 2_0
@@ -145,6 +145,20 @@
             
       
             
     </form>
   </body>
 </html>
+
+------- Additional Comments From mhabersack at novell.com  2007-04-25 08:28 -------
+This test case doesn't work properly either under MS.NET or Mono
+because of this line:
+
+Button addButton = (Button)e.Row.Cells[0].Controls[0];
+
+which throws an InvalidCastException since the field 0 is a LinkButton:
+
+<columns>
+                <asp:buttonfield buttontype="Link"
+
+After changing buttontype to "Button", the code works just fine under
+both Mono and MS.NET.


More information about the mono-bugs mailing list