質問

私のページレイアウトファイルの次のコードを使用していますが、エラーが発生しています。

コード

<%= SPUtility.GetLocalizedString("$Resources:NewsHeading", "myresourcefile", Thread.CurrentThread.CurrentUICulture.LCID) %>
.

エラー

現在のコンテキストに 'sptitility'という名前が存在しません

どうすればいいですか?

役に立ちましたか?

解決

これは、ASPXページのユーティリティ登録のためのタグです。

<%@ Register Tagprefix="Utilities" 
   Namespace="Microsoft.SharePoint.Utilities" 
   Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, 
   PublicKeyToken=71e9bce111e9429c" %>
.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top