Thank you for your help. The links you provided are helpful to me. But how about others' (WCF, WebAPI), I want to know how to call them by Ajax. Sorry, I am not sure if it is similar as calling web service.
However, the most important thing is above code. How to revise it? Besides get string value, I also want to return object, list, and other types' value.
Member
5 Points
14 Posts
Re: Call a method from server-side, but I can't get it
May 04, 2015 02:26 AM|SwanVW|LINK
Hi A.Suresh,
Thank you for your help. The links you provided are helpful to me. But how about others' (WCF, WebAPI), I want to know how to call them by Ajax. Sorry, I am not sure if it is similar as calling web service.
However, the most important thing is above code. How to revise it? Besides get string value, I also want to return object, list, and other types' value.
Please help me.
Thanks,
Swan