Common.Web.Mvc.Extensions

  • System.Collections.Specialized.NameValueCollectionHelper
    This class contents contain extensions for System.Web.Mvc 3.0 and higher.
  1. string Get<TModel>(NameValueCollection, Expression<Func<TModel, object>>)
    Adds to FormCollection.Get, for getting same Key name, when using an expresion.
    
    EX: @Html.HiddenFor(model => model.Id)
    FormCollection.Get(model => model.Id)
    The above would return the value for hidden form data.

Last edited Jan 10, 2014 at 7:13 AM by cschuchardt88, version 3

Comments

No comments yet.