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