﻿Type.registerNamespace("Telerik.Web.UI");
Telerik.Web.UI.RadInputControl=function(_1){
Telerik.Web.UI.RadInputControl.initializeBase(this,[_1]);
this._autoPostBack=false;
this._enabled=true;
this._showButton=false;
this._emptyMessage="";
this._selectionOnFocus=Telerik.Web.UI.SelectionOnFocus.None;
this._postBackEventReferenceScript="";
this._styles=null;
this._onTextBoxKeyUpDelegate=null;
this._onTextBoxKeyPressDelegate=null;
this._onTextBoxBlurDelegate=null;
this._onTextBoxFocusDelegate=null;
this._onTextBoxMouseOutDelegate=null;
this._onTextBoxMouseOverDelegate=null;
this._onTextBoxKeyDownDelegate=null;
this._onTextBoxMouseWheelDelegate=null;
this._onTextBoxDragDropDelegate=null;
};
Telerik.Web.UI.RadInputControl.prototype={initialize:function(){
Telerik.Web.UI.RadInputControl.callBaseMethod(this,"initialize");
this.ClientID=this.get_id();
this.WrapperElementID=this.get_id()+"_wrapper";
this.TextBoxElement=$get(this.get_id()+"_text");
this.OriginalTextBoxCssText=this.TextBoxElement.style.cssText;
if(this.OriginalTextBoxCssText.indexOf(";")!=this.OriginalTextBoxCssText.length-1){
this.OriginalTextBoxCssText+=";";
}
this._updatePercentageHeight();
this._initializeHiddenElement(this.get_id());
this._initializeValidationField(this.get_id());
this._selectionEnd=0;
this._selectionStart=0;
this._focused=false;
this._hovered=false;
this._invalid=false;
this._attachEventHandlers();
this.UpdateDisplayValue();
this.UpdateCssClass();
this._initializeButtons();
this.InitialValue=this.GetValue();
this.raise_Load(Sys.EventArgs.Empty);
},dispose:function(){
$clearHandlers(this.TextBoxElement);
if(this.Button){
$clearHandlers(this.Button);
}
Telerik.Web.UI.RadInputControl.callBaseMethod(this,"dispose");
},_updatePercentageHeight:function(){
var _2=$get(this.WrapperElementID);
if(_2.style.height.indexOf("%")>-1){
if(_2.offsetHeight!=0){
this.TextBoxElement.style.height=_2.offsetHeight+"px";
this.OriginalTextBoxCssText+="height:"+this.TextBoxElement.style.height+";";
}else{
var _3=this;
window.setTimeout(function(){
_3.TextBoxElement.style.height=_2.offsetHeight+"px";
_3.OriginalTextBoxCssText+="height:"+_3.TextBoxElement.style.height+";";
},0);
}
}
},_initializeHiddenElement:function(id){
this._hiddenElement=$get(id);
},_initializeValidationField:function(id){
},_initializeButtons:function(){
this._onButtonClickDelegate=Function.createDelegate(this,this._onButtonClickHandler);
this.Button=null;
var _6=$get(this.WrapperElementID);
var _7=_6.getElementsByTagName("a");
for(i=0;i<_7.length;i++){
if(_7[i].className.indexOf("gobutton")!=(-1)){
this.Button=_7[i];
$addHandler(this.Button,"click",this._onButtonClickDelegate);
}
}
},_attachEventHandlers:function(){
this._onTextBoxKeyUpDelegate=Function.createDelegate(this,this._onTextBoxKeyUpHandler);
this._onTextBoxKeyPressDelegate=Function.createDelegate(this,this._onTextBoxKeyPressHandler);
this._onTextBoxBlurDelegate=Function.createDelegate(this,this._onTextBoxBlurHandler);
this._onTextBoxFocusDelegate=Function.createDelegate(this,this._onTextBoxFocusHandler);
this._onTextBoxKeyDownDelegate=Function.createDelegate(this,this._onTextBoxKeyDownHandler);
$addHandler(this.TextBoxElement,"keydown",this._onTextBoxKeyDownDelegate);
$addHandler(this.TextBoxElement,"keypress",this._onTextBoxKeyPressDelegate);
$addHandler(this.TextBoxElement,"keyup",this._onTextBoxKeyUpDelegate);
$addHandler(this.TextBoxElement,"blur",this._onTextBoxBlurDelegate);
$addHandler(this.TextBoxElement,"focus",this._onTextBoxFocusDelegate);
this._attachMouseEventHandlers();
},_attachMouseEventHandlers:function(){
this._onTextBoxMouseOutDelegate=Function.createDelegate(this,this._onTextBoxMouseOutHandler);
this._onTextBoxMouseOverDelegate=Function.createDelegate(this,this._onTextBoxMouseOverHandler);
this._onTextBoxMouseWheelDelegate=Function.createDelegate(this,this._onTextBoxMouseWheelHandler);
this._onTextBoxDragDropDelegate=Function.createDelegate(this,this._onTextBoxDragDropHandler);
$addHandler(this.TextBoxElement,"mouseout",this._onTextBoxMouseOutDelegate);
$addHandler(this.TextBoxElement,"mouseover",this._onTextBoxMouseOverDelegate);
if(Sys.Browser.agent!=Sys.Browser.InternetExplorer){
$addHandler(this.TextBoxElement,"DOMMouseScroll",this._onTextBoxMouseWheelDelegate);
$addHandler(this.TextBoxElement,"dragdrop",this._onTextBoxDragDropDelegate);
}else{
$addHandler(this.TextBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate);
$addHandler(this.TextBoxElement,"drop",this._onTextBoxDragDropDelegate);
}
},_onTextBoxKeyPressHandler:function(e){
var _9=new Telerik.Web.UI.InputKeyPressEventArgs(e,e.charCode,String.fromCharCode(e.charCode));
this.raise_KeyPress(_9);
if(_9.get_cancel()){
e.stopPropagation();
e.preventDefault();
return false;
}
if((e.charCode==13)&&!this.IsMultiLine()){
if(this.get_AutoPostBack()){
this.RaisePostBackEvent();
}
return true;
}
},_onTextBoxKeyUpHandler:function(e){
this._updateHiddenValueOnKeyPress(e);
},_onTextBoxBlurHandler:function(e){
this._focused=false;
this.SetValue(this.GetTextBoxValue());
this.raise_Blur(Sys.EventArgs.Empty);
},_onTextBoxFocusHandler:function(e){
this._focused=true;
this.UpdateDisplayValue();
this.UpdateCssClass();
this._updateSelectionOnFocus();
this.raise_Focus(Sys.EventArgs.Empty);
},_onTextBoxMouseOutHandler:function(e){
this._hovered=false;
this.UpdateCssClass();
this.raise_MouseOut(Sys.EventArgs.Empty);
},_onTextBoxMouseOverHandler:function(e){
this._hovered=true;
this.UpdateCssClass();
this.raise_MouseOver(Sys.EventArgs.Empty);
},_onTextBoxKeyDownHandler:function(e){
},_onTextBoxMouseWheelHandler:function(e){
var _11;
if(this._focused){
if(e.rawEvent.wheelDelta){
_11=e.rawEvent.wheelDelta/120;
if(window.opera){
_11=-_11;
}
}else{
if(e.detail){
_11=-e.rawEvent.detail/3;
}
}
if(_11>0){
this._handleWheel(false);
}else{
this._handleWheel(true);
}
return true;
}
return false;
},_onTextBoxDropHandler:function(e){
this.SetValue(e.dataTransfer.getData("text"));
},_onButtonClickHandler:function(e){
var _14=new Telerik.Web.UI.InputButtonClickEventArgs(Telerik.Web.UI.InputButtonType.Button);
this.raise_ButtonClick(_14);
},_onTextBoxDragDropHandler:function(e){
if(Sys.Browser.agent==Sys.Browser.InternetExplorer){
this.SetValue(e.dataTransfer.getData("text"));
}else{
this.SetValue(this.GetTextBoxValue());
}
},UpdateDisplayValue:function(){
if(this._focused){
this.SetTextBoxValue(this.GetEditValue());
}else{
if(this.IsEmpty()&&this.get_EmptyMessage()){
this.IsEmptyMessage=true;
this.SetTextBoxValue(this.get_EmptyMessage());
}else{
this.IsEmptyMessage=false;
this.SetTextBoxValue(this.GetDisplayValue());
}
}
},UpdateCssClass:function(){
if(this._enabled&&(!this.IsEmptyMessage)&&(!this.IsNegative())){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["EnabledStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["EnabledStyle"][1];
}
if(this._enabled&&(!this.IsEmptyMessage)&&this.IsNegative()){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["NegativeStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["NegativeStyle"][1];
}
if(this._enabled&&this.IsEmptyMessage){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["EmptyMessageStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["EmptyMessageStyle"][1];
}
if(this._hovered){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["HoveredStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["HoveredStyle"][1];
}
if(this._focused){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["FocusedStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["FocusedStyle"][1];
}
if(this._invalid){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["InvalidStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["InvalidStyle"][1];
}
if(!this._enabled){
this.TextBoxElement.style.cssText=this.OriginalTextBoxCssText+this.UpdateCssText(this.get_Styles()["DisabledStyle"][0]);
this.TextBoxElement.className=this.get_Styles()["DisabledStyle"][1];
}
},UpdateCssText:function(_16){
var _17=_16.split(";");
var i;
var _19="";
for(i=0;i<_17.length;i++){
var _1a=_17[i].split(":");
if(_1a.length==2){
var _1b=""+_1a[0].toLowerCase();
if(_1b!="width"&&_1b!="height"){
_19+=_17[i]+";";
}
}
}
return _19;
},_getValidationField:function(){
return this._hiddenElement;
},GetValue:function(){
return this._hiddenElement.value;
},GetDisplayValue:function(){
return this._hiddenElement.value;
},GetEditValue:function(){
return this._hiddenElement.value;
},IsEmpty:function(){
return this._hiddenElement.value=="";
},IsNegative:function(){
return false;
},IsReadOnly:function(){
return this.TextBoxElement.readOnly||!this._enabled;
},IsMultiLine:function(){
return this.TextBoxElement.tagName.toUpperCase()=="TEXTAREA";
},_calculateSelection:function(){
if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){
this._selectionEnd=this.TextBoxElement.selectionEnd;
this._selectionStart=this.TextBoxElement.selectionStart;
return;
}
var s1=document.selection.createRange();
if(s1.parentElement()!=this.TextBoxElement){
return;
}
var s=s1.duplicate();
s.move("character",-this.TextBoxElement.value.length);
s.setEndPoint("EndToStart",s1);
var _1e=s.text.length;
var _1f=s.text.length+s1.text.length;
this._selectionEnd=Math.max(_1e,_1f);
this._selectionStart=Math.min(_1e,_1f);
},SelectText:function(_20,end){
this._selectionStart=_20;
this._selectionEnd=end;
this._applySelection();
},SelectAllText:function(){
if(this.TextBoxElement.value.length>0){
this.SelectText(0,this.TextBoxElement.value.length);
return true;
}
return false;
},SetCaretPosition:function(_22){
this._selectionStart=_22;
this._selectionEnd=_22;
this._applySelection();
},RaisePostBackEvent:function(){
eval(this._postBackEventReferenceScript);
},GetWrapperElement:function(){
return $get(this.WrapperElementID);
},GetTextBoxValue:function(_23){
return this.TextBoxElement.value;
},Clear:function(){
this.SetValue("");
},SetTextBoxValue:function(_24){
if(this.TextBoxElement.value!=_24){
this.TextBoxElement.value=_24;
}
},SetValue:function(_25){
var _26=new Telerik.Web.UI.InputValueChangingEventArgs(_25,this.InitialValue);
this.raise_ValueChanging(_26);
if(_26.get_cancel()==true){
this._SetValue(this.InitialValue);
return false;
}
if(_26.get_NewValue()){
_25=_26.get_NewValue();
}
var _27=this._setHiddenValue(_25);
if(_27==false){
_25="";
}
this._triggerDOMChangeEvent(this._getValidationField());
this.raise_ValueChanged(_25,this.InitialValue);
if(typeof (_27)=="undefined"||_27==true){
this.SetTextBoxValue(this.GetEditValue());
this.UpdateDisplayValue();
this.UpdateCssClass();
}
},Disable:function(){
this.set_Enabled(false);
this.TextBoxElement.disabled="disabled";
this.UpdateCssClass();
this.raise_Disable(Sys.EventArgs.Empty);
},Enable:function(){
this.set_Enabled(true);
this.TextBoxElement.disabled="";
this.UpdateCssClass();
this.raise_Enable(Sys.EventArgs.Empty);
},Focus:function(){
this.TextBoxElement.focus();
},Blur:function(){
this.TextBoxElement.blur();
},_SetValue:function(_28){
var _29=this._setHiddenValue(_28);
if(typeof (_29)=="undefined"||_29==true){
this.SetTextBoxValue(this.GetEditValue());
}
},_triggerDOMChangeEvent:function(_2a){
if(_2a.fireEvent&&document.createEventObject){
var _2b=document.createEventObject();
_2a.fireEvent("onchange",_2b);
}else{
if(_2a.dispatchEvent){
var _2c=true;
var _2b=document.createEvent("HTMLEvents");
_2b.initEvent("change",_2c,true);
_2a.dispatchEvent(_2b);
}
}
},_updateSelectionOnFocus:function(){
switch(this.get_SelectionOnFocus()){
case Telerik.Web.UI.SelectionOnFocus.None:
break;
case Telerik.Web.UI.SelectionOnFocus.CaretToBeginning:
this.SetCaretPosition(0);
break;
case Telerik.Web.UI.SelectionOnFocus.CaretToEnd:
if(this.TextBoxElement.value.length>0){
this.SetCaretPosition(this.TextBoxElement.value.length);
}
break;
case Telerik.Web.UI.SelectionOnFocus.SelectAll:
this.SelectAllText();
break;
default:
this.SetCaretPosition(0);
break;
}
},_applySelection:function(){
if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){
this.TextBoxElement.selectionStart=this._selectionStart;
this.TextBoxElement.selectionEnd=this._selectionEnd;
return;
}
this.TextBoxElement.select();
sel=document.selection.createRange();
sel.collapse();
sel.moveStart("character",this._selectionStart);
sel.collapse();
sel.moveEnd("character",this._selectionEnd-this._selectionStart);
sel.select();
},_clearHiddenValue:function(){
this._hiddenElement.value="";
},_handleWheel:function(_2d){
},_setHiddenValue:function(_2e){
if(this._hiddenElement.value!=_2e.toString()){
this._hiddenElement.value=_2e;
}
this._setValidationField(_2e);
return true;
},_setValidationField:function(_2f){
},_updateHiddenValueOnKeyPress:function(){
this._updateHiddenValue();
},_updateHiddenValue:function(){
return this._setHiddenValue(this.TextBoxElement.value);
},get_AutoPostBack:function(){
return this._autoPostBack;
},set_AutoPostBack:function(_30){
if(this._autoPostBack!==_30){
this._autoPostBack=_30;
this.raisePropertyChanged("autoPostBack");
}
},get_EmptyMessage:function(){
return this._emptyMessage;
},set_EmptyMessage:function(_31){
if(this._emptyMessage!==_31){
this._emptyMessage=_31;
this.IsEmptyMessage=(_31!="");
this.raisePropertyChanged("emptyMessage");
}
},get_SelectionOnFocus:function(){
return this._selectionOnFocus;
},set_SelectionOnFocus:function(_32){
if(this._selectionOnFocus!==_32){
this._selectionOnFocus=_32;
this.raisePropertyChanged("selectionOnFocus");
}
},get_ShowButton:function(){
return this._showButton;
},set_ShowButton:function(_33){
if(this._showButton!==_33){
this._showButton=_33;
this.raisePropertyChanged("showButton");
}
},get_Enabled:function(){
return this._enabled;
},set_Enabled:function(_34){
if(this._enabled!==_34){
this._enabled=_34;
this.raisePropertyChanged("enabled");
}
},get_Styles:function(){
return this._styles;
},set_Styles:function(_35){
if(this._styles!==_35){
this._styles=_35;
this.raisePropertyChanged("styles");
}
},add_Blur:function(_36){
this.get_events().addHandler("Blur",_36);
},remove_Blur:function(_37){
this.get_events().removeHandler("Blur",_37);
},raise_Blur:function(_38){
this.raiseEvent("Blur",_38);
},add_MouseOut:function(_39){
this.get_events().addHandler("MouseOut",_39);
},remove_MouseOut:function(_3a){
this.get_events().removeHandler("MouseOut",_3a);
},raise_MouseOut:function(_3b){
this.raiseEvent("MouseOut",_3b);
},add_ValueChanged:function(_3c){
this.get_events().addHandler("ValueChanged",_3c);
},remove_ValueChanged:function(_3d){
this.get_events().removeHandler("ValueChanged",_3d);
},raise_ValueChanged:function(_3e,_3f){
if(_3e.toString()==_3f.toString()){
return false;
}
this.InitialValue=this.GetValue();
var _40=new Telerik.Web.UI.InputValueChangedEventArgs(_3e,_3f);
this.raiseEvent("ValueChanged",_40);
var _41=!_40.get_cancel();
if(this.get_AutoPostBack()&&_41){
this.RaisePostBackEvent();
}
},add_Error:function(_42){
this.get_events().addHandler("Error",_42);
},remove_Error:function(_43){
this.get_events().removeHandler("Error",_43);
},raise_Error:function(_44){
if(this.InEventRaise){
return;
}
this.InEventRaise=true;
this.raiseEvent("Error",_44);
if(!_44.get_cancel()){
this._invalid=true;
this._errorHandlingCanceled=false;
this.UpdateCssClass();
var _45=this;
var _46=function(){
_45._invalid=false;
_45.UpdateCssClass();
};
setTimeout(_46,100);
}else{
this._errorHandlingCanceled=true;
}
this.InEventRaise=false;
},add_Load:function(_47){
this.get_events().addHandler("Load",_47);
},remove_Load:function(_48){
this.get_events().removeHandler("Load",_48);
},raise_Load:function(_49){
this.raiseEvent("Load",_49);
},add_MouseOver:function(_4a){
this.get_events().addHandler("MouseOver",_4a);
},remove_MouseOver:function(_4b){
this.get_events().removeHandler("MouseOver",_4b);
},raise_MouseOver:function(_4c){
this.raiseEvent("MouseOver",_4c);
},add_Focus:function(_4d){
this.get_events().addHandler("Focus",_4d);
},remove_Focus:function(_4e){
this.get_events().removeHandler("Focus",_4e);
},raise_Focus:function(_4f){
this.raiseEvent("Focus",_4f);
},add_Disable:function(_50){
this.get_events().addHandler("Disable",_50);
},remove_Disable:function(_51){
this.get_events().removeHandler("Disable",_51);
},raise_Disable:function(_52){
this.raiseEvent("Disable",_52);
},add_Enable:function(_53){
this.get_events().addHandler("Enable",_53);
},remove_Enable:function(_54){
this.get_events().removeHandler("Enable",_54);
},raise_Enable:function(_55){
this.raiseEvent("Enable",_55);
},add_KeyPress:function(_56){
this.get_events().addHandler("KeyPress",_56);
},remove_KeyPress:function(_57){
this.get_events().removeHandler("KeyPress",_57);
},raise_KeyPress:function(_58){
this.raiseEvent("KeyPress",_58);
},add_EnumerationChanged:function(_59){
this.get_events().addHandler("EnumerationChanged",_59);
},remove_EnumerationChanged:function(_5a){
this.get_events().removeHandler("EnumerationChanged",_5a);
},raise_EnumerationChanged:function(_5b){
this.raiseEvent("EnumerationChanged",_5b);
},add_MoveUp:function(_5c){
this.get_events().addHandler("MoveUp",_5c);
},remove_MoveUp:function(_5d){
this.get_events().removeHandler("MoveUp",_5d);
},raise_MoveUp:function(_5e){
this.raiseEvent("MoveUp",_5e);
},add_MoveDown:function(_5f){
this.get_events().addHandler("MoveDown",_5f);
},remove_MoveDown:function(_60){
this.get_events().removeHandler("MoveDown",_60);
},raise_MoveDown:function(_61){
this.raiseEvent("MoveDown",_61);
},add_ButtonClick:function(_62){
this.get_events().addHandler("ButtonClick",_62);
},remove_ButtonClick:function(_63){
this.get_events().removeHandler("ButtonClick",_63);
},raise_ButtonClick:function(_64){
this.raiseEvent("ButtonClick",_64);
},add_ValueChanging:function(_65){
this.get_events().addHandler("ValueChanging",_65);
},remove_ValueChanging:function(_66){
this.get_events().removeHandler("ValueChanging",_66);
},raise_ValueChanging:function(_67){
this.raiseEvent("ValueChanging",_67);
}};
Telerik.Web.UI.RadInputControl.registerClass("Telerik.Web.UI.RadInputControl",Telerik.Web.UI.RadWebControl);
if(typeof (console)=="undefined"){
console={log:function(msg){
if(!this.logElement){
this.logElement=document.createElement("div");
this.logElement.style.cssText="border:2px inset buttonface;font:10px tahoma;padding:20px;height:200px;overflow:scroll;position:absolute;bottom:0;";
document.body.insertBefore(this.logElement,document.body.firstChild);
}
var _69=document.createTextNode((new Date().toString())+": "+msg);
this.logElement.appendChild(_69);
this.logElement.appendChild(document.createElement("hr"));
}};
};Type.registerNamespace("Telerik.Web.UI");
Telerik.Web.UI.InputErrorReason=function(){
};
Telerik.Web.UI.InputErrorReason.prototype={ParseError:1,OutOfRange:2};
Telerik.Web.UI.InputErrorReason.registerEnum("Telerik.Web.UI.InputErrorReason",false);
Telerik.Web.UI.SelectionOnFocus=function(){
};
Telerik.Web.UI.SelectionOnFocus.prototype={None:0,CaretToBeginning:1,CaretToEnd:2,SelectAll:3};
Telerik.Web.UI.SelectionOnFocus.registerEnum("Telerik.Web.UI.SelectionOnFocus",false);
Telerik.Web.UI.InputButtonType=function(){
};
Telerik.Web.UI.InputButtonType.prototype={Button:1,MoveUpButton:2,MoveDownButton:3};
Telerik.Web.UI.InputButtonType.registerEnum("Telerik.Web.UI.InputButtonType",false);
Telerik.Web.UI.DisplayFormatPosition=function(){
};
Telerik.Web.UI.DisplayFormatPosition.prototype={Left:1,Right:2};
Telerik.Web.UI.DisplayFormatPosition.registerEnum("Telerik.Web.UI.DisplayFormatPosition",false);;Type.registerNamespace("Telerik.Web.UI");
Telerik.Web.UI.InputValueChangedEventArgs=function(_1,_2){
Telerik.Web.UI.InputValueChangedEventArgs.initializeBase(this);
this._newValue=_1;
this._oldValue=_2;
};
Telerik.Web.UI.InputValueChangedEventArgs.prototype={get_OldValue:function(){
return this._oldValue;
},get_NewValue:function(){
return this._newValue;
}};
Telerik.Web.UI.InputValueChangedEventArgs.registerClass("Telerik.Web.UI.InputValueChangedEventArgs",Sys.CancelEventArgs);
Telerik.Web.UI.InputValueChangingEventArgs=function(_3,_4){
Telerik.Web.UI.InputValueChangingEventArgs.initializeBase(this,[_3,_4]);
};
Telerik.Web.UI.InputValueChangingEventArgs.prototype={set_NewValue:function(_5){
if(this._newValue!==_5){
this._newValue=_5;
}
}};
Telerik.Web.UI.InputValueChangingEventArgs.registerClass("Telerik.Web.UI.InputValueChangingEventArgs",Telerik.Web.UI.InputValueChangedEventArgs);
Telerik.Web.UI.MaskedTextBoxEventArgs=function(_6,_7,_8){
Telerik.Web.UI.MaskedTextBoxEventArgs.initializeBase(this);
this._newValue=_6;
this._oldValue=_7;
this._chunk=_8;
};
Telerik.Web.UI.MaskedTextBoxEventArgs.prototype={get_OldValue:function(){
return this._oldValue;
},get_NewValue:function(){
return this._newValue;
},get_CurrentPart:function(){
return this._chunk;
}};
Telerik.Web.UI.MaskedTextBoxEventArgs.registerClass("Telerik.Web.UI.MaskedTextBoxEventArgs",Sys.CancelEventArgs);
Telerik.Web.UI.InputKeyPressEventArgs=function(_9,_a,_b){
Telerik.Web.UI.InputKeyPressEventArgs.initializeBase(this);
this._domEvent=_9;
this._keyCode=_a;
this._keyCharacter=_b;
};
Telerik.Web.UI.InputKeyPressEventArgs.prototype={get_DomEvent:function(){
return this._domEvent;
},get_KeyCode:function(){
return this._keyCode;
},get_KeyCharacter:function(){
return this._keyCharacter;
}};
Telerik.Web.UI.InputKeyPressEventArgs.registerClass("Telerik.Web.UI.InputKeyPressEventArgs",Sys.CancelEventArgs);
Telerik.Web.UI.InputButtonClickEventArgs=function(_c){
Telerik.Web.UI.InputButtonClickEventArgs.initializeBase(this);
this._buttonType=_c;
};
Telerik.Web.UI.InputButtonClickEventArgs.prototype={get_ButtonType:function(){
return this._buttonType;
}};
Telerik.Web.UI.InputButtonClickEventArgs.registerClass("Telerik.Web.UI.InputButtonClickEventArgs",Sys.CancelEventArgs);
Telerik.Web.UI.InputErrorEventArgs=function(_d,_e){
Telerik.Web.UI.InputErrorEventArgs.initializeBase(this);
this._reason=_d;
this._inputText=_e;
};
Telerik.Web.UI.InputErrorEventArgs.prototype={get_Reason:function(){
return this._reason;
},get_InputText:function(){
return this._inputText;
}};
Telerik.Web.UI.InputErrorEventArgs.registerClass("Telerik.Web.UI.InputErrorEventArgs",Sys.CancelEventArgs);
Telerik.Web.UI.NumericInputErrorEventArgs=function(_f,_10,_11,_12){
Telerik.Web.UI.NumericInputErrorEventArgs.initializeBase(this);
this._keyCode=_11;
this._keyCharacter=_12;
};
Telerik.Web.UI.NumericInputErrorEventArgs.prototype={get_Reason:function(){
return this._reason;
},get_InputText:function(){
return this._inputText;
},get_KeyCode:function(){
return this._keyCode;
},get_KeyCharacter:function(){
return this._keyCharacter;
}};
Telerik.Web.UI.NumericInputErrorEventArgs.registerClass("Telerik.Web.UI.NumericInputErrorEventArgs",Telerik.Web.UI.InputErrorEventArgs);;Telerik.Web.UI.RadTextBox=function(_1){
Telerik.Web.UI.RadTextBox.initializeBase(this,[_1]);
};
Telerik.Web.UI.RadTextBox.prototype={initialize:function(){
Telerik.Web.UI.RadTextBox.callBaseMethod(this,"initialize");
},dispose:function(){
Telerik.Web.UI.RadTextBox.callBaseMethod(this,"dispose");
}};
Telerik.Web.UI.RadTextBox.registerClass("Telerik.Web.UI.RadTextBox",Telerik.Web.UI.RadInputControl);;
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();