很多ags for .net的開發人員都會關心adf for .net 9.2是否支援asp.net ajax 1.0,先看官方的建議:
原文連結:http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=33689
1. Are the Web ADF 9.2 controls AJAX enabled?
– Yes.
2. Do they use the same framework as Microsoft AJAX 1.0?
– No. The Web ADF 9.2 controls use the Microsoft ASP.NET 2.0 callback framework. Microsoft AJAX 1.0 uses a partial postback framework.
3. Can Web ADF 9.2 be used with Microsoft AJAX 1.0?
- Yes and No.
Yes: AJAX 1.0 and Web ADF 9.2 controls can be used in the same Web application.
No: Web ADF 9.2 controls were not designed to be used within AJAX 1.0 controls, such as an UpdatePanel. Web ADF 9.2 controls were not designed to utilize the partial postback framework. Thus, explicit use of Web ADF 9.2 controls with Microsoft AJAX 1.0 controls and technology is not supported.
4. Do I need Microsoft AJAX 1.0 controls to take advantage of AJAX functionality in a 9.2 Web ADF application?
- No. The Web ADF already utilizes AJAX technology provided by the Microsoft ASP.NET 2.0 callback framework. Microsoft AJAX 1.0 provides the architecture to support controls that were not explicitly designed for AJAX. Since Web ADF 9.2 controls already support AJAX, they do not need Microsoft AJAX 1.0 to operate asynchronously. For example, a Map control does not need to be placed inside of an UpdatePanel because AJAX support for the Map control is already provided. In fact, the Map control can even be viewed as an UpdatePanel itself.
5. Which Web controls should I use with Microsoft AJAX 1.0?
- In general, any Web control that 1) does not provide its own AJAX implementation or 2) explicitly supports Microsoft AJAX 1.0. The Web ADF 9.2 controls do not fit either of these requirements.
我的體會是:1.adf編程使用callback framework,adf控制項外的ASP.Net控制項使用asp.net ajax庫。2.全部使用callback framework。