Share via

Save click not working

Guhananth S 1 Reputation point
2022-01-17T14:10:45.443+00:00

Hi
I have

<%#Html.Beginform("PricingParial","Pricing","Post")
{
Autocomplete text box with client name. has clientid and name
<input type="button" text="Save" id="btnSave">
}
%>

Incontroller

public ActionResult PricingParial(Pricing criteria)
{
return View("PricingPartial",criteria);
}

[HttpPost]
public ActionResult PricingParial(Pricing criteria,FormCollection fm)
{
var getitems =_service.GetData(criteria.ClientId); get values from database as List<Dictionarty<string,object>
return View("Pricingpartial",criteria);

}
bind the result to jqgrid
how to do

Developer technologies | ASP.NET Core | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.