HTML.ActionLink method

I think what you want is this: ASP.NET MVC1 This uses the following method ActionLink signature: ASP.NET MVC2 two arguments have been switched around This uses the following method ActionLink signature: ASP.NET MVC3+ arguments are in the same order as MVC2, however the id value is no longer required: This avoids hard-coding any routing logic … Read more

limitations of using @Html.EditorForModel

I am working on an asp.net mvc-5 web application. I have the following model class :- now i usually use @Html.EditorFor() & LabelFor() at the field level. but for this model i wanted to start using @Html.EditorForModel as i will have less markup on the view:- now the result of this was not 100% what i was expecting:- so can any … Read more

Why not use Html.EditorForModel()

Ok I just discovered about the EditorForModel in MVC and I want to know when I should use this instead of an EditorFor on each of my property? And why does when I add a strongly typed view it does not use this and build an EditorFor on every property? I’m late on this… but thanks for the info!