// Authors:
// Lluis Sanchez Gual (lluis@novell.com)
//
-// (C) 2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
-#if NET_2_0
-
using System;
using System.Collections;
using System.ComponentModel;
int rowIndex;
DataControlRowState rowState;
DataControlRowType rowType;
-
+ internal bool RenderJustCellContents {
+ get;
+ set;
+ }
public FormViewRow (int rowIndex, DataControlRowType rowType, DataControlRowState rowState)
{
this.rowIndex = rowIndex;
}
return false;
}
+ protected internal override void Render (HtmlTextWriter writer)
+ {
+ if (!RenderJustCellContents) {
+ base.Render (writer);
+ return;
+ }
+
+ foreach (TableCell cell in Cells)
+ cell.RenderContents (writer);
+ }
}
}
-#endif