Invoking ASP.NET codebehind method from JavaScript

后端 未结 4 1006
悲&欢浪女
悲&欢浪女 2021-01-29 05:25

Can someone please tell me how I can invoke a ASP.NET codebehind method from client-side JavaScript?

Thanks

4条回答
  •  梦如初夏
    2021-01-29 05:36

    I've always used Page Methods. They are pretty good.

    You can read the blogpost by Dave for step by step tutorial: http://encosia.com/2008/05/29/using-jquery-to-directly-call-aspnet-ajax-page-methods/

提交回复
热议问题