Reputation: 251
How can we use web user controls in Asp.net MVC 4 the same way we use in ASP.net web forms application.
I didn't find any simple article on it yet
Upvotes: 0
Views: 1253
Reputation: 39807
In MVC - there are not any built in controls like you are used to seeing in WebForms (DataGrid, BreadCrumb, etc). These WebForm controls relied on concepts that do not exist in the MVC framework such as ViewState and PostBack. There have been many discussions around the use of WebForms vs MVC, web controls and lack thereof, but this is not the place for those.
You can build your own (using partial views for instance) or look at the third party components (Telerik).
Upvotes: 4