* DetailsView.cs: fixed: considers DataControlField.InsertVisible. svn path=/trunk/mcs/; revision=66785
@@ -1,3 +1,7 @@
+2006-10-18 Igor Zelmanovich <[email protected]>
+
+ * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2006-10-18 Igor Zelmanovich <[email protected]>
* DetailsView.cs: fixed: CurrentMode property.
@@ -1184,6 +1184,9 @@ namespace System.Web.UI.WebControls
cell.ColumnSpan = 2;
row.Cells.Add (cell);
field.InitializeCell (cell, DataControlCellType.DataCell, row.RowState, row.RowIndex);
+ if (CurrentMode == DetailsViewMode.Insert && !field.InsertVisible)
+ row.Visible = false;
}
IOrderedDictionary CreateRowDataKey (object dataItem)