Use the simple Ajax framework-magicajax. net

Source: Internet
Author: User
Magicajax. net

This is a brand new openSource codeThe Ajax framework is better than the Ajax framework I have used. net requires a lot of convenience. Not only do you need to learn a little, but after adding Ajax technology, your website can even modify the aspx file without compiling. I was pleasantly surprised by all this. I would like to share it with you as soon as possible. Magicajax. Net supports. net1.1 and 2.0.CodeYes. NET 2.0 is required.

Magicajax. net is convenient: it provides an AjaxPanel container control that requires no refreshing updates (controls, HTML code ...) put it in this panel. magicajax. net does not needProgramWhat is added to the background code, and the configuration of Web. config is not complex.


I made a simple test program. Use Google ads to see if the entire page is refreshed.
Drag and Drop an AjaxPanel control on the page, and place the botton and label controls in it. If you place botton outside the panel, the whole page will be refreshed.

The Event code of the botton control is:

1 Private   Void Btntime_click ( Object Sender, system. eventargs E)
2 {
3This. Lbltime. Text=Datetime. Now. tostring ();
4}

Final effect:

Very good results! Easy to use.

The following is a basic web. config configuration file. If it is in. NET 1.1, you must have this, but the program cannot find the JS resources embedded in it.

1 < Configuration >
2 < Configsections >
3 < Section Name = "Magicajax"  
4 Type = "Magicajax. configuration. magicajaxsectionhandler, magicajax" />
5 </ Configsections >
6
7 < Magicajax
8 Outputcomparemode = "Hashcode"
9 Tracing = "False" >
10 < Pagestore
11 Mode = "Nostore"
12 Unloadstoredpage = "False"
13 Cachetimeout = "5"
14 Maxconcurrentpages = "5"
15 Maxpageslimitalert = "False"
16 />
17 </ Magicajax >
18   < System . Web >
19 < Httpmodules >
20 < Add Name = "Magicajax" Type = "Magicajax. magicajaxmodule, magicajax"   />  
21 </ Httpmodules >
22
23   </ System. Web >
24
25 </ Configuration >

You can download it from their website. Http://www.magicajax.net/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.