static JSCustomDropDownListTestControl() { scriptDeclatation = new StandardTestControlScriptsDeclaration(); scriptDeclatation.IsEnabledFunctionBody = "return !this.control.disabled;"; scriptDeclatation.GetTextFunctionBody = "return this.control.value;"; scriptDeclatation.SetTextFunctionBody = "this.control.value = value;"; }
static JSCustomLabelTestControl() { scriptDeclatation = new StandardTestControlScriptsDeclaration(); scriptDeclatation.GetTextFunctionBody = "return this.control.innerText;"; scriptDeclatation.SetTextFunctionBody = @"this.LogOperationError('The ""' + this.caption + '"" editor is readonly.');"; }