Top "Model-binding" questions

Model Binding is a feature of ASP.

How to pass Multiple Parameters from ajax call to MVC Controller

I have the controller like the below: public ActionResult Save(string input, string name) { //Some code return PartialView(); } And I …

jquery ajax asp.net-mvc model-binding
How to pass IEnumerable list to controller in MVC including checkbox state?

I have an mvc application in which I am using a model like this: public class BlockedIPViewModel { public string IP { …

c# asp.net-mvc asp.net-mvc-4 razor model-binding
How does MVC 4 List Model Binding work?

If I want a set of inputs in a form to bind to a List in MVC 4, I know that …

c# .net asp.net-mvc asp.net-mvc-4 model-binding
ASP.NET MVC Binding to a dictionary

I'm trying to bind dictionary values within MVC. Within the action I have: model.Params = new Dictionary<string, string&…

c# asp.net-mvc dictionary model-binding
How does a multiple select list work with model binding in ASP.NET MVC?

If you have a select list set to multiple in ASP.NET MVC, how does the modelbinding work? What does …

html asp.net-mvc model-binding
Bind Angularjs to newly created html element dynamically

I have a tab page with multiple tabs that once clicked on call a service to return some data. Some …

angularjs model-binding
ASP.NET MVC 4 JSON Binding to the View Model - Nested object error

I have got the problem with json binding to the view model. Here is my code: part of my ViewModels (…

json asp.net-mvc-4 model-binding
Model Binding With Disabled Textbox

I have a textbox that I am defining as <%= Html.TextBox("Username", Model.Form.Username, new { @class = "textbox", @disabled = "…

asp.net asp.net-mvc model-binding
How do you exclude properties from binding when calling UpdateModel()?

I have a view model sent to the edit action of my controller. The ViewModel contains references to EntityObjects. (yea …

asp.net-mvc-3 model-binding
error with decimal in mvc3 - the value is not valid for field

I'm following [Getting started with ASP.NET MVC 3][1]. And I can't add/edit with value of Price = 9.99 or 9,99. It said: "…

asp.net-mvc asp.net-mvc-3 razor decimal model-binding