Ajax learning

1. AJAX = Asynchronous JavaScript and XML.
2. AJAX 是一种在无需重新加载整个网页的情况下,能够更新部分网页的技术
3. XMLHttpRequest 是 AJAX 的基础,不管任何ajax技术,这个object用来无缝隙地exchange数据。基本上说,JS用这个object交换xml和text data 在Client和Server之间

xmlhttp.open("GET","test1.txt",true);
xmlhttp.send();

4. Difference between Synchronous and Asynchronous Postback?

In Synchronous postback, complete web page is sent to server and in return rendering the output (i.e.complete page)

In Asynchronous postback, partial page goes to the server and renders only partial (required)part of the page.

5. What are the basic controls in ASP.NET AJAX?
Following controls can be considered as core AJAX controls in ASP.NET.
  ScriptManager - ScriptManager basically manages all ASP.NET AJAX resources of a web page, creates proxies for asynchronous web service call and also manages partial page updates… etc.
  ScriptManagerProxy
  UpdatePanel - apply partial page update/rendering, we can add one or more UpdatePanel controls
  UpdateProgress
  Timer

Reference: http://www.w3school.com.cn/ajax/ajax_xmlhttprequest_send.asp

http://www.webdevelopmenthelp.net/2014/04/asp-net-interview-questions-part5.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值