0
asp.net mvc 2 이해 mvc 미래없이 작업을 직접 호출 할 수 있습니다. 우리가 사용할 수 있습니다asp.net mvc 헬퍼 클래스에서 컨트롤러 작업을 호출
<%Html.RenderAction
: 지금의 instaed
<%Html.Action
나는 액션을 호출하는 도우미 클래스를 사용하고 있지만, 헬퍼 클래스 내부에서 나는 .Action의 attirbute 찾을 수 없습니다 :
을public static void CatalogList(this HtmlHelper helper, string text)
{
helper.ac
}
가 어떤 액션이 없지만이 영문 파일에 인라인 일 :
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>Category</h2>
<%Html.Action(%>
제가 잘못하고있는 것이 확실하지 않은 전화는 헬퍼와 인라인이 아닌 것이 좋습니다. "System.Web.Mvc.Html
"
감사