Hi everybody!
I'm using this wonderful framework for many months and I'm really happy with it and I like it, but now I'm stucking at problem. This my pseudo code and below that my problem description.
Javascript:var data = new Array();
var propertyChanged = {
"Date": "2012-01-01 00:00:000"
};
data.push(propertyChanged);
$.ajax({
type: 'POST',
conentType: 'application/json; charset=utf-8',
data: data,
url: url,
success: function (xhr, status) {
},
error: function (xhr, status) {
}
C#:
[DataContract]
public class PropertyChangeRequest{
[DataMember]
public List<PropertyChanged> PropertiesChanged { get; set; }
}
public class PropertyChanged
{
public string PropertyName { get; set; }
public DateTime Date { get; set; }
public string FromValue { get; set; }
public string ToValue { get; set; }
My problem ist, that PropertyChangedRequest is everytime NULL, after my request. Can somebody tell me what's wrong with my code?
Thanks in advance!
greets mario