Pass a user defined object to ASP.NET Webmethod from jQuery, using JSON
I quickly set up this project and I was able to successfully call my web method, please adjust your code accordingly. Make sure your class property names are the same as the ones that you pass through JavaScript. Webservice public static Contact getContact(Contact cnt) { cnt.name = “Abijeet Patro”; cnt.phone = “Blah Blah”; return cnt; … Read more