Contents tagged with ASP.NET MVC
-
How to Bind a collection of Abstract Class or Interface to a Model – ASP.NET MVC
Default Model binder is a very neat and slick piece of functionality, that automatically parses the Request.Form fields and maps the Form Fields to our Action parameters, mostly in case of POST.
-
Data Bound DropDownList (HTML Helper) for ASP.NET MVC
In this Post I will try to create a HTML Helper method to create a Data-bound Dropdownlist for ASP.NET MVC framework. When iterating through the DataSource in the ViewPage, to create a Dropdownlist is easy, but at the sametime this is one feature that we will come across multiple time during any project execution. So it make more sense to me, if we create a HTML Helper, which will generate the Dropdownlist from a DataSource.
-
Bulk Data Update with ASP.NET MVC
Recently I was doing some R&D with ASP.NET MVC. During that I was mimicking the Create a Movie Database Application in 15 Minutes with ASP.NET MVC (C#) tutorial, which is a nice ice-breaker tutorial. Once I was done with it, I was thinking of some more complex real-life scenarios. As a business application developer, I came across a scenario when I need to implement a bulk update operation through a Web interface. I hate it simply !!!!! Binding the data, then iterate through the Grid, do a lot of FindControl….