点滴积累,融会贯通
-----喜欢一切有兴趣的东西
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
269 随笔 :: 0 文章 :: 418 评论 :: 17 引用
MagicAjax.NET Framework
Easy integration
Just a few lines in web.config are enough to have MagicAjax working with default configuration options
Only one easy to use control (AjaxPanel) is required to be included in your page to enable the AJAX functionality
Usability
You put the part of your page that you want to have AJAX functionality inside an AjaxPanel and that's it; the MagicAjax framework takes care all of the intrinsic details for you
The AjaxPanel works like the ASP.NET Panel and can display its contents on the Visual Studio Designer, allowing you to add controls to it visually
No javascript code is needed to be written
Programming
For most cases you can add AJAX functionality to your existing pages by only adding AjaxPanels and without even a single change in the source code
MagicAjax replaces PostBacks with AJAX callbacks (AjaxCalls) that do not cause a refresh on the client's browser
The PostBack and AJAX functionality can co-exist in the same page; only the controls that are inside an AjaxPanel will perform an AjaxCall instead of a PostBack
The page's ViewState is shared amongst PostBacks and AjaxCalls; any changes to it by an AjaxCall will be available to a PostBack and vice versa
You handle an AjaxCall just like a PostBack, using the ASP.NET server-side programming model
MagicAjax intuitively spots the changes that occured during an AjaxCall and sends the minimum possible required javascript that will reflect the changes on the client's browser
There are plenty of helper methods to help you with handling an AjaxCall by code (i.e. if you want to send additional custom javascript to the client)
User experience
The user of your page enjoys a faster and richer browser UI, without the annoying PostBacks
A 'Loading' label notifies the user that an AjaxCall has been invoked
Instead of downloading the whole page for a Postback, the client only downloads chunks of javascript code that apply the changes made to the page's html
MagicAjax's changes to the page are kept in the browser's cache, so if the user navigates to another page and then presses the browser's 'Back' button, he will see the same page that he was viewing before
Customization
Many configuration options give you total control of the inner workings of MagicAjax
A small set of attributes applied to your ASP.NET controls can customize the way that they will be handled by MagicAjax
You can define that an AjaxCall will be invoked asynchronously or synchronously for all controls of an AjaxPanel or for a single control
You can define that certain controls of an AjaxPanel will invoke a plain PostBack
If the 'tracing' configuration option is enabled, a popup window is created that displays information about the data that were sent to and from the server, allowing you to monitor the traffic of AjaxCalls that the page invokes
Clean object-oriented design makes it easy to extend the framework and add your own AjaxControls
Compatibility
Internet Explorer, Firefox, Netscape and Opera browsers are supported
If a browser is not supported or the user has disabled javascript, the page will revert to plain PostBacks automatically
posted on 2006-05-17 13:25
小寒
阅读(358)
评论(0)
编辑
收藏
网摘
所属分类:
Ajax
新用户注册
刷新评论列表
标题
姓名
主页
Email
(博主才能看到)
验证码
*
看不清,换一张
[
登录
][
注册
]
内容(请不要发表任何与政治相关的内容)
网站首页
新闻频道
社区
小组
博问
网摘
人才
找找看
Remember Me?
登录
使用高级评论
新用户注册
返回页首
恢复上次提交
[使用Ctrl+Enter键可以直接提交]
Google站内搜索
China-pub 计算机图书网上专卖店!6.5万品种 2-8折!
近千种 9-95 新二手计算图书火热销售中!
开发者征途系统新作:《设计模式——基于C#的工程化实现及扩展》
相关文章:
相关链接:
所属分类的其他文章:
JSON简介
六步使用ICallbackEventHandler实现无刷新回调(zz)
ajaxPro 配置及使用(zz)
MagicAjax.NET Framework configuration
MagicAjax.NET Framework Integration
MagicAjax.NET Framework
最新IT新闻:
Python 3.0正式发布
JavaFX千呼万唤始出来
Moonlight: Linux 平台下的 Silverlight
印度软件外包企业秘密收购中国公司
华人高管陆奇出任微软互联网业务总裁
<
2006年5月
>
日
一
二
三
四
五
六
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
公告
多多的学习,多多的积累, 虽然很多东西自己不知道, 但只要不停的学习别人的东西, 终将无所不知 MSN:liyuwang83113@163.com
搜索
留言簿
(13)
给我留言
查看留言
我参加的小组
ASP.NET
Web技术联盟
天津Net俱乐部
我参与的团队
天津.NET俱乐部(0/812)
企业内网开发集成应用(0/176)
Windows Vista开发(0/257)
软件项目管理团队(1/206)
.net企业应用开发(0/151)
随笔分类
AD操作(4)
(rss)
Ajax(6)
(rss)
ASP.NET编程&技巧(45)
(rss)
C#编程基础(41)
(rss)
C#网络编程(10)
(rss)
DataGrid&&GridView(15)
(rss)
EnterpriseLibrary(1)
(rss)
JavaScript专栏(23)
(rss)
LINQ(2)
(rss)
ORM(3)
(rss)
SharePoint(11)
(rss)
Web打印(4)
(rss)
Windows/Webservice(3)
(rss)
韩语学习系列(4)
(rss)
软件工程专栏(24)
(rss)
设计模式学习(15)
(rss)
数据库设计UNION技巧(29)
(rss)
杂文-日记(32)
(rss)
.NET中重要技术
1-.Net设计模式(一)
梦幻Dot Net的博客
2-.Net设计模式(二)
Terrylee 的博客
3-ORM-NHibernate
张老三的博客
4-ORM-SPL
听棠.NET的博客
5-Enterprise Library
rickie的博客(企业类库)
6-自由、创新、研究、探索
一些开源的知识
7-海洋工作室
Sharepoint,SPS,Office
8-MagicAjax.NET
MagicAjax.NET
90-数据库操作
邹建的专栏
90-数据库应用
吕震宇的博客
91-quickstart
Microsoft quickstart
92-connectionstrings
Connection String
93-Enterprise Library
Terry的文章
94-C#手机推箱子
C#手机推箱子
95-sourceforge
开源源码下载
96-李战Blog
(rss)
李战Blog
97-Linq to sql
(rss)
Linq to sql
98-LINQ系列
LINQ系列
积分与排名
积分 - 201177
排名 - 182
阅读排行榜
1. NTLDR is missing 文件丢失如何解决(25156)
2. SQL Server 2000 函数使用---CAST 和 CONVERT(9510)
3. window.showModalDialog和window.open关闭子页面时刷新父页面(3184)
4. 项目管理-让什么人做什么事(3104)
5. c#发送邮件.net1.1和.net2.0中的两个方法(2755)