EditorTempalteとDisplayTemplateのサーチバス

標準のサーチパス

For display templates:

 ~/Views/{controller}/DisplayTemplates
 ~/Views/Shared/DisplayTemplates

For editor templates:

 ~/Views/{controller}/EditorTemplates
 ~/Views/Shared/EditorTemplates

参考

http://stackoverflow.com/questions/5176024/asp-net-mvc-3-display-templates-and-editor-template-custom-location-how-to

サーチパスをカスタマイズ

http://stackoverflow.com/questions/5581786/can-i-add-to-the-display-editortemplates-search-paths-in-asp-net-mvc-3


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2014-03-07 (金) 07:33:58