Sunday, January 21, 2007

AJAX XML-Script Tutorial (Future CTP Feature)

An excellent XML-Script Tutorial (Part 1 - 4) by Alessandro Gallo (Garbin) you will find on DotNetSlackers. XML-Script is a part of the Future CTP. This package does contain material additional to the AJAX Core Framework and could be included in further Core Releases.

The Future CTP is not official documented, so this kind of Tutorial from the community are really worthwhile.

4 comments:

Anonymous said...

You know ,I have some flyff penya,and my friend also has some
flyff money,do you kouw they have the same meaning,Both of them can be called flyff gold,I just want to
buy flyff penya,because there are many
cheap penya

wo said...

http://siteexplorer.search.yahoo.com/search;_ylt=A0oGksfZgXpKE_oAd1Hbl8kF?p=http%3A%2F%2Fwww.aionchinagold.com%2F&bwm=i&fr=sfp&b=1

Anonymous said...

We offer designer , custom wedding dress, cheap cell phonescheap wedding dressesbridal gowns, wedding gowns, Flower Girl Dresses and so on. Buy tailor-made anddesigner wedding dresses designer to be a special brides now!

pedro velasquez said...

Note that in order to use the xml-script sportsbook feature you must download the Futures CTP package from the Microsoft Ajax website and add a reference to the PreviewScript.es file contained in the Microsoft.Web.Preview assembly.
A block of declarative code is always embedded into a script tag with the type attribute set to text/xml-script. The declarative code in the example isn't difficult to understand; we have a root page element that encapsulates a components element, which is the bet nfl standard form of a generic xml-script block.
Inside the components element we find an application node with the load attribute set to the name of the function declared in the JavaScript code block. The load attribute is parsed as an event name and its value is parsed as the reference to a function that will be added to the corresponding list of event handlers. Since the application element is mapped to the Sys.Application instance, the result is that http://www.enterbet.com page_load() will be called when Sys.Application raises its load event.