Hi,

Can anyone tell me how to apply paging in Gridview in MVC application?

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.