Skip to main content

Posts

Showing posts from May, 2009

ASP.NET MVC v1.0 - Generic Html.ActionLink(...)

... was removed for release of version 1.0.
This has been documented in about a million other places, but not many posts reference where to get the 'ASP.NET MVC v1.0 Futures' DLL (as opposed to the BETA Futures).
It's here:
http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=aspnet&DownloadId=61773&FileTime=128813720881730000&Build=15036

You need this DLL if you want to use the generic version of the ActionLink - which can be used like this:
==================================================================
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> <%@ Import Namespace="Bernard.Controllers"%> <%@ Import Namespace="Microsoft.Web.Mvc"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> Index </asp:Content>
<asp:Content ID="Con…