Hi,
I have a web service method, that accepts List<Participant>, where Participant is a complex object with many string or int properties. I have a public property in code behind, which returns List<Participant>. How can i call this web service method in javascript and pass this List<Participant> as parameter?
I have tried this, but it does not work.
Code:
MyWebService.Foo('<%= Property %>', successCallback, errorCallback)
I know i can access code behind properties in javascript with '<%= %>'
I think i have to serialize this List to JSon object or something like that?
Thank you !