Calling ASP.NET Code Behind function from JavaScript

前端 未结 6 747
梦毁少年i
梦毁少年i 2020-11-29 08:45

Is it possible to call ASP.NET codebehind function from JavaScript.

6条回答
  •  迷失自我
    2020-11-29 09:33

    If you are working on a non-Ajax project, you can try System.Web.UI.ICallbackEventHandler.

    Samples here:

    http://msdn.microsoft.com/en-us/library/ms178210.aspx

    http://www.ajaxmatters.com/2006/05/using-icallbackeventhandler-in-asp-net/

提交回复
热议问题