Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net sharepoint wikipage中的可编辑标题栏_Asp.net_.net_Sharepoint_Sharepoint 2010_Sharepoint Designer - Fatal编程技术网

Asp.net sharepoint wikipage中的可编辑标题栏

Asp.net sharepoint wikipage中的可编辑标题栏,asp.net,.net,sharepoint,sharepoint-2010,sharepoint-designer,Asp.net,.net,Sharepoint,Sharepoint 2010,Sharepoint Designer,我在站点页面中定义了wikipage。当我点击编辑页面->标题栏属性时,什么也没发生。我试着做两件事: ,, 在我的网站页面中有以下内容: <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"> <SharePoint:EncodedLiteral runat="server" text="my title" EncodeMethod="HtmlEncode"/> -

我在站点页面中定义了wikipage。当我点击编辑页面->标题栏属性时,什么也没发生。我试着做两件事:

,,

在我的网站页面中有以下内容:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="my title" EncodeMethod="HtmlEncode"/> - 
    <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>

- 
我的头衔现在是“我的头衔”。但是我想允许通过标题栏属性按钮而不是sharepoint designer来编辑此标题。
有什么办法吗?谢谢。

您需要插入链接到title属性的
SharePoint:ListItemProperty
,而不是EncodedLiteral(在本例中是静态的)

因此,在您的情况下,您应该将Wiki页面模板更改为:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListItemProperty Property="Title" runat="server" />
</asp:Content>
一段时间前在TechNet wiki上发布了关于这一点的