2
页面
我有两个方法HTTPGET作为 公众的ActionResult MiReport(){ 回报 视图(); }分页不工作在GridMvc其重装
和httppost作为
public ActionResult GetReportView(string startdate,string enddate) {
ReportModel Obj = new ReportModel(startdate, enddate);
return PartialView("GetReportView",Obj);
}
我绑定网格,
@using GridMvc.Html
<div class="col-md-12">
<h4><strong>REPORT</strong></h4>
@Html.Grid(Model.lstReport).Columns(columns => {
columns.Add(c => c.rep).Titled("REP");
columns.Add(c => c.businessName).Titled("BUSINESS NAME");
columns.Add(c => c.contactNmae).Titled("CONTACT NAME");
}).WithPaging(10)
</div>
我展示它查看其装载第10行罚款,但,当我点击呼叫按钮,其调用Get方法并且页面正在被重新编码。 请帮帮我。 在此先感谢。