ProjectProperty Class
Returns a global property of the current Web site.
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.ProjectProperty
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.ProjectProperty
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
The following code example from the item display form (DispForm.aspx) for a list uses the ListProperty control to return the title of the current project to display as part of the page heading.
<table cellpadding=0 cellspacing=0>
<tr>
<td nowrap class="ms-titlearea"><SharePoint:ProjectProperty Property="Title" runat="server"/></td>
</tr>
<tr>
<td ID=onetidPageTitle class="ms-pagetitle">
<SharePoint:ListProperty Property="LinkTitle" runat="server"/>: <SharePoint:ListItemProperty Property="Title" MaxLength=40 runat="server"/>
</td>
</tr>
</table>
Possible values that can be specified for the Property attribute
Possible values that can be specified for the Property attribute are located here :
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.projectproperty.property.aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.projectproperty.property.aspx
- 3/12/2011
- Jordie Duce Microsoft