You will need MVC Futures to use this project

Download MVC futures for MVC 1.0:
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471#DownloadId=61773

Or, if you're using MVC 2.0:
http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30886

Add the following in your web.config file:

<pages ...>
...
  <controls>
    <add tagPrefix="mvcg" namespace="MvcImproved.Generic.Controls" assembly="MvcImproved"/>
    ..
  </controls>
</pages>

In your web.config file inside of the Views folder, update the "pageParserFilterType" attribute to:

<pages ... pageParserFilterType="MvcImproved.Generic.GenericPageParser, MvcImproved" ... >

Using DefaultModelBinderImproved

If you would like to use the DefaultModelBinderImproved for better List<> and Dictionary<> support, add the following in your GLobal.asax.cs file:

protected void Application_Start()
{
	...
	ModelBinders.Binders.DefaultBinder = new MvcImproved.DefaultModelBinderImproved();
	...
}

Last edited Aug 15, 2009 at 5:55 AM by marquinhocb, version 3

Comments

No comments yet.