Using GridView and DetailsView in ASP.NET MVC - Part 1
- by bipinjoshi
For any
beginner in ASP.NET MVC the first disappointment is possibly the lack of
any server controls. ASP.NET MVC divides the entire processing logic
into three distinct parts namely model, view and controller. In the
process views (that represent UI under MVC architecture) need to
sacrifice three important features of web forms viz. Postbacks,
ViewState and rich event model. Though server controls are not a
recommended choice under ASP.NET MVC there are situations where you may
need to use server controls. In this two part article I am going to explain, as an
example, how GridView and DetailsView can be used in ASP.NET MVC without
breaking the MVC pattern.http://www.bipinjoshi.net/articles/59b91531-3fb2-4504-84a4-9f52e2d65c20.aspx