下拉框控件帮助类 更多...
Public 成员函数 | |
| DropDownBoxAjaxHelper (DropDownBox source) | |
| 构造函数 | |
| void | Text (string text) |
| 设置显示文本 | |
| void | Value (string value) |
| 设置值和文本 | |
| void | Value (string value, string text) |
| 设置值和文本 | |
| void | Values (string[] values) |
| 设置值和文本 | |
| void | Values (string values) |
| 设置值和文本 | |
| void | Values (string[] values, string text) |
| 设置值和文本 | |
| void | Values (string[] values, string[] texts) |
| 设置值和文本 | |
| void | Values (string values, string text) |
| 设置值和文本 | |
| Public 成员函数 继承自 FineUI.Core.TextFieldAjaxHelper< T, TAjaxHelper > | |
| TextFieldAjaxHelper (TextField source) | |
| 构造函数 | |
| void | Required (bool required) |
| 设置字段是否必填 | |
| void | MinLength (int? minLength) |
| 设置最小文本长度,传 null 取消限制 | |
| void | MaxLength (int? maxLength) |
| 设置最大文本长度,传 null 取消限制 | |
| void | RegexPattern (RegexPattern regexPattern) |
| 设置内置正则验证规则,传 None 取消正则验证 | |
| void | Regex (string regex, bool ignoreCase=false) |
| 设置正则验证规则,空值取消正则验证 | |
| Public 成员函数 继承自 FineUI.Core.FieldAjaxHelper< T, TAjaxHelper > | |
| FieldAjaxHelper (Field source) | |
| 构造函数 | |
| void | Readonly (bool readonlyValue) |
| 设置字段只读状态 | |
| void | ShowRedStar (bool showRedStar) |
| 设置标签必填星号的显示状态 | |
| void | Label (string label) |
| 设置字段标签,不改变字段的输入值 | |
| void | Focus () |
| 使控件获得焦点 | |
| void | Focus (bool selectText) |
| 使控件获得焦点,并选中控件中的文本内容 | |
| void | Focus (bool selectText, int delayMilliseconds) |
| 使控件获得焦点,并选中控件中的文本内容 | |
| string | GetFocusReference () |
| 获取使控件获得焦点的脚本 | |
| string | GetFocusReference (bool selectText) |
| 获取使控件获得焦点,并选中控件中的文本内容的脚本 | |
| string | GetFocusReference (bool selectText, int delayMilliseconds) |
| 获取使控件获得焦点,并选中控件中的文本内容的脚本 | |
| void | Reset () |
| 重置此字段的值(比如用来清空FileUpload的内容) | |
| string | GetResetReference () |
| 获取重置此字段的客户端脚本 | |
| string | GetValueReference () |
| 获取此字段值的客户端脚本(注意返回的脚本不带结束分号) | |
| void | MarkInvalid (string message) |
| 设置字段验证失败的提示信息 | |
| void | ClearInvalid () |
| 清除验证失败的提示信息 | |
| string | GetMarkInvalidReference (string message) |
| 获取字段验证失败提示信息的客户端脚本 | |
| string | GetClearInvalidReference () |
| 获取清除验证失败提示信息的客户端脚本 | |
| Public 成员函数 继承自 FineUI.Core.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| BoxComponentAjaxHelper (BoxComponent source) | |
| 构造函数 | |
| Public 成员函数 继承自 FineUI.Core.ComponentAjaxHelper< T, TAjaxHelper > | |
| ComponentAjaxHelper (Component source) | |
| 构造函数 | |
| void | EnableAjaxLoading (bool value) |
| 设置回发时是否显示加载提示 | |
| void | AjaxLoadingType (AjaxLoadingType value) |
| 设置回发加载提示的类型 | |
| void | AjaxLoadingText (string value) |
| 设置回发加载提示文字 | |
| void | AjaxLoadingMaskText (string value) |
| 设置回发遮罩提示文字 | |
| void | ShowAjaxLoadingMaskText (bool value) |
| 设置回发遮罩是否显示提示文字 | |
| void | ApplyStyles (string styles) |
| 设置控件样式 | |
| void | CssStyle (string styles) |
| 设置控件样式 | |
| void | AddCssClass (string cssClass) |
| 添加控件样式类 | |
| void | RemoveCssClass (string cssClass) |
| 删除控件样式类 | |
| Public 成员函数 继承自 FineUI.Core.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBaseAjaxHelper (ControlBase source) | |
| 构造函数 | |
| virtual void | Enabled (bool enabled) |
| 设置控件的启用状态 | |
| virtual void | Disabled (bool disabled) |
| 设置控件的禁用状态 | |
| virtual void | Hidden (bool hidden) |
| 设置控件的隐藏状态 | |
| virtual void | Attribute (string key, string value) |
| 设置HTML标签属性 | |
属性 | |
| new DropDownBox | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.TextFieldAjaxHelper< T, TAjaxHelper > | |
| new TextField | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.FieldAjaxHelper< T, TAjaxHelper > | |
| new Field | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.BoxComponentAjaxHelper< T, TAjaxHelper > | |
| new BoxComponent | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.ComponentAjaxHelper< T, TAjaxHelper > | |
| new Component | Source [get] |
| 当前控件 | |
| 属性 继承自 FineUI.Core.ControlBaseAjaxHelper< T, TAjaxHelper > | |
| ControlBase | Source [get] |
| 当前控件 | |
下拉框控件帮助类
| FineUI.Core.DropDownBoxAjaxHelper.DropDownBoxAjaxHelper | ( | DropDownBox | source | ) |
构造函数
| source |
| void FineUI.Core.DropDownBoxAjaxHelper.Text | ( | string | text | ) |
设置显示文本
| text |
| void FineUI.Core.DropDownBoxAjaxHelper.Value | ( | string | value | ) |
设置值和文本
| value |
| void FineUI.Core.DropDownBoxAjaxHelper.Value | ( | string | value, |
| string | text ) |
设置值和文本
| value | |
| text |
| void FineUI.Core.DropDownBoxAjaxHelper.Values | ( | string | values | ) |
设置值和文本
| values |
| void FineUI.Core.DropDownBoxAjaxHelper.Values | ( | string | values, |
| string | text ) |
设置值和文本
| values | |
| text |
| void FineUI.Core.DropDownBoxAjaxHelper.Values | ( | string[] | values | ) |
设置值和文本
| values |
| void FineUI.Core.DropDownBoxAjaxHelper.Values | ( | string[] | values, |
| string | text ) |
设置值和文本
| values | |
| text |
| void FineUI.Core.DropDownBoxAjaxHelper.Values | ( | string[] | values, |
| string[] | texts ) |
设置值和文本
| values | |
| texts |
|
get |