微软的AJAX和AJAX专业版之间的区别是什么? [英] What is the difference between Microsoft AJAX and AJAX Pro?

查看:204
本文介绍了微软的AJAX和AJAX专业版之间的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

微软的AJAX和AJAX临?

What is the difference between Microsoft AJAx and AJAX Pro?

此外,对于应该怎样使用AJAX专业?

Also, for what should I use AJAX Pro?

推荐答案

微软AJAX是包含准备使用的服务器控件微软的Ajax库。

Microsoft AJAX is Microsoft's Ajax library that contains ready to use server controls.

AJAX Pro是一个免费的AJAX库,使您能够实现手动的Ajax调用。这是一个有点难以用那么微软的控制。但是你必须对数据和HTML元素与此库更多的控制。

AJAX Pro is a free AJAX library, that enables you to implement your Ajax calls manually. It's a little bit difficult to use then Microsoft's controls. But you have more control on the data and html elements with this library.

使用AJAX的专业,定义AjaxMethods,并呼吁他们的客户端。与回调方法你获得的返回值和实现逻辑。全序列化的.NET对象成功地转换为JavaScript对象。

With AJAX Pro, you define AjaxMethods, and call them in client-side. with callback methods you get the return value and implement your logic. Whole serializable .NET objects converted successfully to javascript objects.

在阿贾克斯临当你做一个Ajax调用,只有你自己定义的方法被调用。在微软的Ajax,被称为整个页面生命周期来代替。正因为如此,你不能页面上使用Ajax临改变控件的属性。你应该在JavaScript做手工用的回调函数。但在微软的AJAX,你必须在阿贾克斯的方法改变控件的属性能力。

In Ajax Pro when you make an ajax call, only the method you defined is called. In Microsoft Ajax, whole page life-cycle called instead. Because of this, you can not change properties of controls on page with Ajax Pro. You should do it manually by callback functions in javascript. But in Microsoft AJAX, you have ability to change control's properties in Ajax methods.

我的建议,如果你有JavaScript和HTML知识,尝试阿贾克斯Pro或JQuery的AJAX的。但如果你是一个新手,开始与微软的Ajax。

My suggestion, if you have knowledge of Javascript and HTML, try Ajax Pro or JQuery for AJAX. But if you're a newbie, begin with Microsoft Ajax.

这篇关于微软的AJAX和AJAX专业版之间的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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