PDA

View Full Version : [CLOSED] When should i use ajaxevents and when listeners?



afhi
Oct 24, 2008, 4:20 PM
Excuse me, could someone tell when should i use ajaxevents and when listeners?, what's the difference? i wanna be totally clear when is better to use the former and when the latter.

Thanks.

geoffrey.mcgill
Oct 24, 2008, 9:49 PM
Hi afhi,

A Listener is a client-side JavaScript event.


An AjaxEvent is kind of like a "super" Listener. The AjaxEvent extends the functionality of Listeners by triggering a server-side event to fire. You can think of an AjaxEvent as similar to an "Ajax PostBack".


The following examples provide an introduction to the use of Listeners and AjaxEvents.


Listeners
http://examples1.ext.net/#/Listeners/Basic/Add_Listener/



AjaxEvents
http://examples1.ext.net/#/AjaxEvents/Basic/Summary/



Hope this helps.

afhi
Oct 27, 2008, 8:14 PM
thanks for that Geoffrey.