Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
igGrid Response from Restful Save failure
posted

I am updating an igGrid with the code below. It works great if there are no database save issues.

Client side (most code eliminated for clarity)

...

.Rest(true)
.RestSettings(rs =>
{
rs.RestSetting()
.Update(u => u.RestVerbSetting()
.Template(Url.Content("~/api/EditBatchAPI?DetailId=${id}"))
.Batch(false) );
})
.Render()

...

It is calling this Server Side:

[HttpPut]
public void Put(int chainPricingDetailId, [FromBody]ChainPricingDetailBrandData value)
{
try
{

...

How can I give feedback to the user if the Put failed?

Parents Reply Children
No Data