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=82615 --- shadow/82615 2007-08-28 12:41:33.000000000 -0400 +++ shadow/82615.tmp.16476 2007-08-28 12:41:33.000000000 -0400 @@ -0,0 +1,46 @@ +Bug#: 82615 +Product: Mono: Class Libraries +Version: unspecified +OS: unknown +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Sys.Web +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Hidden columns not included in the Cells collection of GridViewRow + +Description of Problem: +The Cells collection of the GridViewRow class doesn't contain hidden cells. + +Steps to reproduce the problem: +1. +Insert a GridView with some columns in an aspx page, let's call it myGrid, +and populate it with some data. + +2. +Set the "Visible" property of at least one column to "False" (either in +.aspx or in the code before DataBind) + +3. +Create a handler for the RowCreated event: +myGrid.RowCreated += new GridViewRowEventHandler(myGrid_RowCreated); + +4. +In the handler count the number of cells +myLabel.Text = "number of columns: " + e.Row.Cells.Count.ToString(); + +Actual Results: +The number returned is the number of columns which are not hidden. + +Expected Results: +In .NET it returns the number of columns including the hidden ones. + +How often does this happen? +Always _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
