Visual Studio 2008 で作成しました。それを DLLWeb User Control
にコンパイルして、最終的に SharePoint Web パーツで使用できるようにしたいと考えています。Web User Control
Web User Control
しかし、SharePoint でmy をコンパイルまたは使用する方法がわかりません。
これがどのように機能するか誰にもわかりませんか?
Visual Studio 2008 で作成しました。それを DLLWeb User Control
にコンパイルして、最終的に SharePoint Web パーツで使用できるようにしたいと考えています。Web User Control
Web User Control
しかし、SharePoint でmy をコンパイルまたは使用する方法がわかりません。
これがどのように機能するか誰にもわかりませんか?
これを読んで...
あなたのmanifest.xmlにこれを含めてください..
<TemplateFile Location="ControlTemplates\"Your Web User Control Name".ascx" />
次に、ascxファイルにこれを含めます...
RootFiles\TEMPLATE\ControlTemplates\"Your Web User Control Name".ascx
次に、.cs ファイルから次のように呼び出します。
_value = Page.LoadControl("~/_controltemplates/"Your Web User Control Name".ascx");
編集
これを試して...
[スタート] > [すべてのプログラム] > [Visual Studio 2008] > [Visual Studio ツール] > [Visual Studio 2008 コマンド プロンプト] をクリックします。以下のコマンドを入力し、Enter キーを押します。
devenv.exe /resetskippkgs