Client side event from server side object

  • Thread starter Thread starter loftty
  • Start date Start date
L

loftty

Guest
Hi,

I call a web api and pass over an object from the client, the object on the client side has an event, which is triggered when one of the object properties changes. However, the event (client side) never gets triggered when the objects property changes (the server side). Is there anyway of resolving this?

My web api call is as follows:

Uri uri = new Uri(url);
client.Headers["content-type"] = "application/json";

var json = JsonConvert.SerializeObject(rw, Formatting.Indented);
var reqString =
Encoding.Default.GetBytes(json);

var result = client.UploadData(url, "POST", reqString);



Regards,

Ben

Continue reading...
 
Back
Top