>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Xml-script tutorial Part 4 by Alessandro Gallo - script xml tutorial page code part action asp

 
Registered tutorials: 501
Registered Users: 36176



Rating: 4 out of 1 votes cast


  
Category: Ajax and .NET

Xml-script tutorial Part 4 by Alessandro Gallo

Digg this   Post to del.icio.us

Abstract: In this article we'll see how to build custom actions to handle events declaratively

Actions

An action encapsulates a block of JavaScript code that is executed when a particular event is fired. An example is the SetProperty action, which allows setting the value of a property exposed by a client side component, or the InvokeMethod action, which enables invoking a method and pass parameters to it.

The Microsoft Ajax Library defines a third built-in action called PostBackAction. The purpose of this action is to postback the page (using the ASP.NET postback mechanism, i.e. a call to the __doPostBack function) in response to a particular event.

The following example illustrates the PostBack action; it is a simple HTML button that, when clicked, causes a postback of the page.


Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 7
Unique Hits: 7


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 0 0 0 0 0.1 0.1
Current 0 0 0 0 0 0
Previous 0 0 0 0 0 0
Jan 24 0 0 0 0 1 1
Jan 23 0 0 0 0 0 0
Jan 22 0 0 0 0 0 0
Jan 21 0 0 0 0 0 0
Jan 20 0 0 0 0 0 0
Jan 19 0 0 0 0 0 0
Jan 18 0 0 0 0 0 0
Jan 17 0 0 0 0 0 0
Highest 2 2 2 2 4 4


Script Execution Time: 0.5567 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2