Closed postite closed 8 years ago
this won't work:
var p=new PartialViewResult({val:"bip"},"index"); p.addClientAction(Loading); return p;
an this will:
return new PartialViewResult({val:"bip"},"index") .addClientAction(Loading);
Because you have to return an instance of AddClientActionResult instead of PartialViewResult in order for your client action to work.
AddClientActionResult
PartialViewResult
this won't work:
an this will: