Asp.net codebehind from javascript?

前端 未结 3 1778
野趣味
野趣味 2021-01-21 03:34

Is it possible to call asp.net codebehind function from javascript in vs2008?
My problem is, I have two codebehind methods, one is for some validation and it will return tru

3条回答
  •  离开以前
    2021-01-21 04:14

    Yes by making use of PageMethods you can call the codebehind methods from javascript.

    Check this link for more detail about pagemethods : http://aspalliance.com/1922_PageMethods_In_ASPNET_AJAX

提交回复
热议问题