Last post Dec 07, 2014 09:20 AM by shtrudel
Dec 07, 2014 08:22 AM|shtrudel|LINK
I have a c# class (myClass) that consist of properties and Listof otherClass. After setting myClass properties and adding items to the otherClass List I return the class (myClass) to jQuery with the following command -
In my jquery success function I parseJSON with the following command -
var a = $.parseJSON(data);
Problem is I get the myClass object without the otherClass List...
How can I send back to jQuery the the myClass class including the List of otherClass ?
Dec 07, 2014 09:14 AM|AidyF|LINK
Is the list a public property of the class?
Dec 07, 2014 09:20 AM|shtrudel|LINK
When the list is public it does work,