Export (0) Print
Expand All

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.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
PublicMustInheritClassViewHeader _

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.

Community Additions

© 2014 Microsoft