⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extenderbase.js

📁 AJAX 应用 实现页面的无刷新
💻 JS
字号:
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.

// A simple version of the real behavior - just to verify script path works right.


Type.registerNamespace('AjaxControlToolkit');

AjaxControlToolkit.ConfirmButtonBehavior = function(element) { 
    AjaxControlToolkit.ConfirmButtonBehavior.initializeBase(this, [element]);
}

AjaxControlToolkit.ConfirmButtonBehavior.prototype = {

    //
    // Variables
    //

    // Properties
    _ConfirmTextValue : null,

    //
    // Overrides
    //

    initialize : function() {
        AjaxControlToolkit.ConfirmButtonBehavior.callBaseMethod(this, 'initialize');

        this.get_element().value = this._ConfirmTextValue;
    },

    dispose : function() {
        AjaxControlToolkit.ConfirmButtonBehavior.callBaseMethod(this, 'dispose');
    },

//    getDescriptor : function() {
//        var td = AjaxControlToolkit.ConfirmButtonBehavior.callBaseMethod(this, 'getDescriptor');
//        td.addProperty('ConfirmText', String);
//        return td;
//    },

    //
    // Property get/set methods
    //

    get_ConfirmText : function() {
        return this._ConfirmTextValue;
    },

    set_ConfirmText : function(value) {
        this._ConfirmTextValue = value;
    }
}

AjaxControlToolkit.ConfirmButtonBehavior.registerClass('AjaxControlToolkit.ConfirmButtonBehavior', AjaxControlToolkit.BehaviorBase);

if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -