kala-tamin Asp.net gridview MVC

Asp.net gridview MVC

Can i create a gridview control in Asp.net MVC,and set its DataSource propertie and DataBind method,mormally as in web forms?

Entity framework demo project


how to select a radio button by default - asp.net mvc strongly typed html helpers
No - ASP.NET MVC has no ViewState and therefore no native WebForms controls will work..
Should We Instantiate Data Context & Repository In Controller?
There are a number of hybrid approaches for people who wish to use controls in MVC but if you wish to work in that way it would be better to use WebForms..
How can I pass parameters to an Action using Html.Action() in ASP.NET MVC?

The model item passed into the dictionary is of type { ASP.NET MVC }

Problem with ASP.Net MVC SelectLIst and List<SelectListItems>


MVC area and virtual folders
Technically it is possible - wrap the grid inside a <form runat="server"> tag and you are back in the WebForms business - ViewState, postback etc.

Maintain Constant Title Across Website
However I would too not recommend this approach.

You better use a mixed WebForms-MVC approach.

You can also check the available grid solutions for MVC..

95 out of 100 based on 65 user ratings 515 reviews