 ASPxClientButton.prototype.DoClick=function(){var buttonElement=(this.isNative)?this.GetMainElement():this.GetInternalButton();if(_aspxIsExists(buttonElement))buttonElement.click();else this.OnClick();}
ASPxClientButton.prototype.GetChecked=function(){return this.checked;}
ASPxClientButton.prototype.SetChecked=function(checked){this.SetCheckedInternal(checked,false);this.ClearButtonGroupChecked(false);}
ASPxClientButton.prototype.GetText=function(){return this.isNative?this.GetMainElement().value:this.GetTextElement().innerHTML;}
ASPxClientButton.prototype.SetText=function(text){if(this.isNative)this.GetMainElement().value=text;else this.GetTextElement().innerHTML=text;}
ASPxClientButton.prototype.SetEnabled=function(enabled){if(this.enabled!=enabled)this.SetEnabledInternal(enabled,false);}
ASPxClientButton.prototype.GetEnabled=function(){return this.enabled;}
ASPxClientButton.prototype.RaiseCheckedChanged=function(){var processOnServer=this.autoPostBack;if(!this.CheckedChanged.IsEmpty()){var args=new ASPxClientProcessingModeEventArgs(processOnServer);this.CheckedChanged.FireEvent(this,args);processOnServer=args.processOnServer;}return processOnServer;}
ASPxClientButton.prototype.RaiseFocus=function(){if(!this.GotFocus.IsEmpty()){var args=new ASPxClientEventArgs();this.GotFocus.FireEvent(this,args);}}
ASPxClientButton.prototype.RaiseLostFocus=function(){if(!this.LostFocus.IsEmpty()){var args=new ASPxClientEventArgs();this.LostFocus.FireEvent(this,args);}}
ASPxClientButton.prototype.RaiseClick=function(){var processOnServer=this.autoPostBack||this.IsServerEventAssigned("Click");if(!this.Click.IsEmpty()){var args=new ASPxClientProcessingModeEventArgs(processOnServer);this.Click.FireEvent(this,args);processOnServer=args.processOnServer;}return processOnServer;}
ASPxClientButton.prototype.Focus=function(){this.SetFocus();} 