Hi,
Can anyone tell me how to apply paging in Gridview in MVC application?
Check out the thread here and see if it's helpful for you.
http://stackoverflow.com/questions/496470/paging-sorting-grids-with-asp-net-mvc
Here is my grid...
@surveyListGrid.GetHtml("tblSurveyListGrid", columns: surveyListGrid.Columns
(
surveyListGrid.Column(
columnName: "Name",
header: "Title",
format: (item) => item.Name),
surveyListGrid.Column(
columnName: "status",
header: "Status",
format: (item) => item.status
? "Closed" : "Active"),
surveyListGrid.Column(format: @<text> <input type="checkbox" name="chkSurvey" value="@item.SurveyID" id="chkSurvey-@item.SurveyID" /> </text>)
)
)
In 3rd column header I want to place checkbox...
what should I do?
For Applying Paging IN MVC3 use below link for your solution
http://www.codeproject.com/KB/aspnet/Grid_Paging_In_MVC3.aspx
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.