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

 

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值