1(function() { 2var MVCxClientComboBox = ASPx.CreateClass(ASPxClientComboBox, { 3 constructor: function(name) { 4 this.constructor.prototype.constructor.call(this, name); 5 this.callbackUrl = ""; 6 this.callbackCustomArgs = {}; 7 }, 8 PerformCallback: function(data, onSuccess) { 9 ASPx.Data.MergeHashTables(this.callbackCustomArgs, data); 10 ASPxClientComboBox.prototype.PerformCallback.call(this, data, onSuccess); 11 }, 12 InlineInitialize: function(){ 13 if(this.callbackUrl != "") 14 this.callBack = function(arg){ MVCx.PerformControlCallback(this.name, this.callbackUrl, arg, this.GetCallbackParams(), this.callbackCustomArgs); }; 15 ASPxClientComboBox.prototype.InlineInitialize.call(this); 16 }, 17 RaiseBeginCallbackInternal: function(command) { 18 var args = new MVCxClientBeginCallbackEventArgs(command); 19 if(!this.BeginCallback.IsEmpty()) 20 this.BeginCallback.FireEvent(this, args); 21 ASPx.Data.MergeHashTables(this.callbackCustomArgs, args.customArgs); 22 }, 23 CreateCallbackByInfo: function(arg, command, callbackInfo) { 24 if(this.CanCreateCallback()) 25 return this.CreateCallbackInternal(arg, command, true, callbackInfo); 26 }, 27 CreateCallbackCore: function(arg, command, callbackID) { 28 if(this.callbackCustomArgs != {}) 29 window.setTimeout(function() { this.callbackCustomArgs = {}; }.aspxBind(this), 0); 30 ASPxClientComboBox.prototype.CreateCallbackCore.call(this, arg, command, callbackID); 31 }, 32 GetCallbackParams: function(){ 33 var params = { }; 34 MVCx.AddCallbackParam(params, this.GetStateHiddenField()); 35 MVCx.AddCallbackParamsInContainer(params, this.GetMainElement()); 36 return params; 37 }, 38 OnCallbackGeneralError: function(errorMessage) { 39 ASPxClientComboBox.prototype.OnCallbackGeneralError.call(this, errorMessage); 40 if(!this.serverExceptionOnLastCallback) 41 MVCx.ThrowExceptionOnCallback(); 42 } 43}); 44MVCxClientComboBox.Cast = ASPxClientControl.Cast; 45window.MVCxClientComboBox = MVCxClientComboBox; 46})(); 47
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.