ViewHeader class

Works together with the SPGridView and SPGridViewPager controls to provide a SharePoint-like user experience for grid-based views of data that does not come from a Microsoft SharePoint Server 2010 list.


Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public abstract class ViewHeader : UserControl

These controls are frequently used for the management UI in both site settings and central administration settings.

The controls that SharePoint Server 2010 uses to draw grid-based views like “AllItems.aspx” can only display data from a real SharePoint Server 2010 list. These controls do not work with data that doesn’t come from a SharePoint Server 2010 list.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.