Hi,
Do you have any examples on how to display the error returned from the controller when using the Datamanager - UrlAdaptor inside a Dialog control?
My sample code looks like this in the controller, and I want to display the value in the variable "errorMsg" inside a dialog control in the view.
public async Task<ActionResult> Update([FromBody]CRUDModel<mdCurrency> value)
{
var url = string.Format("{0}/{1}/{2}", URI_RESOURCE, value.Key, value.Value.Lockstamp);
var response = await PutWSObjectAsync<mdCurrency, mdCurrencyResponse>(value.Value, url);
var errorMsg = MessageFormatter.FormatCrudResults(response.CrudResults);
return null;
}
Thanks