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