ajaxpro的任何替代方法 [英] Any alternative for ajaxpro

查看:63
本文介绍了ajaxpro的任何替代方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ajaxpro,以便可以从客户端调用服务器端方法,但是
我想知道其他替代方法是调用服务器端方法
从客户端通过传递参数,服务器方法可能返回结果.
因此客户端方法应携带结果.



在此先感谢

I am using ajaxpro , so that I can call server side method from client side, but
I want to know any other alternatives are their to call a server side method
from client side by passing parameters, and the server method may return result.
so client side method should carry the results.



Thanks in advance

推荐答案

您可以从自己的问题中获取完整的参考. :)

以前的帖子 [ ^ ]
You can get full reference from your own question. :)

Previous post[^]


您可以使用ASP.NET PageMethods, http://aspalliance.com/1922 [^ ]
简而言之,PageMethods创建一个页面内WebService,并且可能并非在所有环境中都受支持.

AJAX是实现此目的的首选方法,使用JQuery这样的框架很容易做到.
You can use ASP.NET PageMethods, http://aspalliance.com/1922[^]
Essentailly, and simplistically, PageMethods creates an in page WebService and may not be supported in all environments.

AJAX is the preferred method for accomplishing this and using a framework like JQuery this becomes easy to do.


我想知道还有其他替代方法可以用来调用服务器端方法
从客户端通过传递参数,服务器方法可能返回结果.
因此客户端方法应携带结果.


1. XMLHttpRequest
2. PageMethod
3.客户端回调
I want to know any other alternatives are their to call a server side method
from client side by passing parameters, and the server method may return result.
so client side method should carry the results.


1. XMLHttpRequest
2. PageMethod
3. Client Callback


这篇关于ajaxpro的任何替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆