Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BlogAdminWebPart Class

Provides a control that displays administrative links for blogs. This class cannot be inherited.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class BlogAdminWebPart _
	Inherits WebPart _
	Implements IListWebPart
Dim instance As BlogAdminWebPart

The Hidden property cannot be set to true if the Web Part'sIsStandAlone property is set to true. The Visible property cannot be set to false if the Web Part's IsStandAlone property is set to true. If either of these conditions occurs, Microsoft ASP.NET will throw an exception.

Set these properties in the OnLoad event so it is after the viewState has been applied. but before OnPreRender() since OnPreRender() is not called if Visible=false

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.