Click here to Skip to main content
11,718,589 members (87,435 online)
Click here to Skip to main content
Articles » Web Development » Ajax » General » Downloads
Add your own
alternative version

Magic AJAX: Applying AJAX to your existing Web Pages

, 28 May 2007 MIT 686.7K 2.4K 251
How to apply AJAX technologies to your web pages without replacing ASP.NET controls and/or writing JavaScript code.
magicajax-030-net11.zip
magicajax
Examples
ExampleSite (.NET 2.0 only)
Web.sitemap
webparts
images
first.GIF
last.GIF
next.gif
pow_by_aspnet2.0.gif
prev.GIF
examples
App_Data
App_Code
Docs
Core
script
bin
MagicAjax.dll
magicajax-030-net20.zip
MagicAjax.dll
Web.sitemap
first.GIF
last.GIF
next.gif
pow_by_aspnet2.0.gif
prev.GIF
magicajax-030-source.zip
Web.sitemap
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
first.GIF
last.GIF
next.gif
pow_by_aspnet2.0.gif
prev.GIF
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
CVS
Root
Repository
Entries
Entries.Extra
Entries.Old
Entries.Extra.Old
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
CVS
Root
Repository
Entries
Entries.Extra
Entries.Old
Entries.Extra.Old
MagicAjax.snk
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
UI
Design
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
Controls
ClientEventControls
CVS
Root
Repository
Entries.Old
Entries
Entries.Extra.Old
Entries.Extra
CVS
Root
Repository
Entries.Extra
Entries.Old
Entries
Entries.Extra.Old
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
Interfaces
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
Configuration
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
CVS
Root
Repository
Entries
Entries.Extra
Entries.Old
Entries.Extra.Old
CVS
Root
Repository
Entries.Old
Entries.Extra.Old
Entries
Entries.Extra
magicajax.zip
AJAXTest
AJAXTest.csproj.webinfo
Global.asax
Ajax
Ajax.csproj.user
Controls
Design
script
<?xml version="1.0" encoding="utf-8" ?>
<configuration>

	<configSections>
		<section name="magicAjax" 
				type="MagicAjax.Configuration.MagicAjaxSectionHandler, MagicAjax"/>
	</configSections>
	
	<!-- MagicAjax configuration :
		[Optional] scriptPath - Alternative path for "AjaxCallObject.js"
					If omitted, the embedded "AjaxCallObject.js" file is used (default).
					example: <magicAjax scriptPath="~/script" />
		outputCompareMode - "HashCode" : Use String.GetHashCode() to find changed Html output
						"MD5" : Use MD5 hashing to find changed Html output (slower and larger in size, but practically no collisions)
						"FullHtml" : Use the complete Html output to find changes (for debugging purposes only)
					Default is "HashCode"
		tracing - "true" : When an AjaxCall is invoked a popup window displays the data that were sent
						to the server and the data that the client received. Used to monitor the traffic of AjaxCalls.
				"false" : tracing is disabled (Default).
		pageStore/mode - "NoStore" : Doesn't store the page object, it is recreated for each AjaxCall
						"Session" : Saves the page object in session, works only for "InProc" SessionState
						"Cache"   : Saves the page object in cache
					Default is "NoStore"
		pageStore/unloadStoredPage - "false" : if the page is stored (mode is "Session" or "Cache")
											the page object is kept until session or cache expires
									"true : An AjaxCall is invoked at the unload event of the
											client's page for the server to drop the stored page object.
								Default is "false"
		pageStore/cacheTimeout - The time in minutes that the page will be kept in cache, if "Cache" is
					selected for pageStore. Default is 5
		pageStore/maxConcurrentPages - if the page is stored (mode is "Session" or "Cache") it defines
					the maximum number of page objects that can refer to the same page. Default is 5.
		pageStore/maxPagesLimitAlert - if it's true, an alert box is displayed when the maxConcurrentPages
					limit is reached. Default is false  -->
	<magicAjax
		outputCompareMode="HashCode"
		tracing="false">
		<pageStore
			mode="NoStore"
			unloadStoredPage="false"
			cacheTimeout="5"
			maxConcurrentPages="5"
			maxPagesLimitAlert="false"
		/>
	</magicAjax>

  <system.web>

        <httpModules>
             <add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" /> 
        </httpModules>

 </system.web>

</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Author

Argiris Kirtzidis
Web Developer
Greece Greece
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150901.1 | Last Updated 28 May 2007
Article Copyright 2005 by Argiris Kirtzidis
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid