• Sys.UI.Behavior

                Type.registerNamespace('Samples');
                Samples.EmptyBehavior = function(element) {
                Samples.EmptyBehavior.initializeBase(this, [element]);
                }
                Samples.EmptyBehavior.prototype = {
                initialize : function() {
                Samples.EmptyBehavior.callBaseMethod(this, 'initialize');
                },
                dispose : function() {
                Samples.EmptyBehavior.callBaseMethod(this, 'dispose');
                }
                }
                Samples.EmptyBehavior.registerClass('Samples.EmptyBehavior',
                Sys.UI.Behavior);
    
    
  • expose event in asp.net ajax

    1. Create a method that adds an event handler.
    2. Create a method that removes an event handler.
    3. Create a method that is responsible for raising the event.
  • cancel request vs abort reqeust

    In asp.net ajax framework, you can cancel request before the request is submitted to the server, you can aborted the request after the request is submitted to the server and before the response is received.

  • xsl:sort

    Normally, this element used with for-each and apply-templates

  • current()

    The function returns a node set that has the current node as its only member. For an outermost expression, an expression not occurring within another expression, the current node is always the same as the context node. Thus,

    
    

    is the same as

    
    

    However, within square brackets, the current node is usually different from the context node. For example,