Hi
I have partial view where there is autocomplete textbox where it shows client name, client id .
on click of save button i need to capture the client id and query database table and display in jq grid here is my code.
Issue is Httppost is not firing .
I am using Aspx page not razor
In controlller
public ActionResult PartialView(Pricing p)
{
return View("PartialView",p);
}
[HttPost]
public ActionResult PartialView(FormCollection fr,Pricing p)
{
var getData = _service.GetData(p.clientId) return as List<Dictionary<string,object>>
return as viewData to view
pass result to jqyery where i can add rows to jqgrid by using $fn.activeGrid().jqGrid
}
<%Html.BeginForm("GetData","Pricing","Post")>
<input id="text > autocomplete text box
<input type="button" id="btnSave" text="Save>
%>