$("#btn_search").click(function () {
url = "/AMEvents/GetGridJson?evtype=1";
var $gridList = $("#gridList");
var posData = $("#searchform").formSerialize() $gridList.setGridParam(
{
url: url,
postData: posData
}
).trigger("reloadGrid"); }); //查询按钮中给定新的url