1
林的動作鏈接和tRVD路過這裏tRVD是以下內容的ActionLink的:類屬性添加到可以使用routevaluedictionary
<% RouteValueDictionary tRVD = new RouteValueDictionary(ViewContext.RouteData.Values); %>
繼承人我的鏈接。
<%= Html.ActionLink("Previous", "Index", tRVD)%>
如何向此href添加類屬性?
我想這:
<%= Html.ActionLink("Previous", "Index", tRVD, new { @class = "left" })%>
,但它使用的ActionLink方法的不正確超載打破了tRVD ...
它打破了tRVD怎麼樣? – 2010-02-10 11:46:49