FineUI.Core 16.3.0
.NET 企业级全栈 UI 框架
载入中...
搜索中...
未找到
FineUI.Core.CheckBoxListAjaxHelper类 参考

复选框列表控件帮助类 更多...

类 FineUI.Core.CheckBoxListAjaxHelper 继承关系图:
FineUI.Core.FieldAjaxHelper< T, TAjaxHelper > FineUI.Core.BoxComponentAjaxHelper< T, TAjaxHelper > FineUI.Core.ComponentAjaxHelper< T, TAjaxHelper > FineUI.Core.ControlBaseAjaxHelper< T, TAjaxHelper > FineUI.Core.IControlBaseAjaxHelper< out T >

Public 成员函数

void Required (bool required)
 更新已有复选列表的必填规则。新规则在下一次校验时生效,当前选择保持不变。
void ClearSelection ()
 清空浏览器中的全部选择,保留控件数据;仅发送动作,不修改后台控件属性。
 CheckBoxListAjaxHelper (CheckBoxList source)
 构造函数
void SelectedValueArray (params string[] selectedValueArray)
 设置选中项
void DataSource (object dataSource)
 设置数据源
void DataSource (object dataSource, string dataValueField, string dataTextField)
 设置数据源
void DataSource (object dataSource, string dataValueField, string dataTextField, string dataEnabledField)
 设置数据源
void LoadData (params CheckItem[] items)
 加载数据
void LoadData ()
 加载数据
Public 成员函数 继承自 FineUI.Core.FieldAjaxHelper< T, TAjaxHelper >
 FieldAjaxHelper (Field source)
 构造函数
void Readonly (bool readonlyValue)
 设置字段只读状态
void ShowRedStar (bool showRedStar)
 设置标签必填星号的显示状态
void Label (string label)
 设置字段标签,不改变字段的输入值
void HelperText (string text)
 更新填写说明,保留已经输入的文字和文件选择。
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 >
void AutoColumnSpan (int value)
 更新 AutoColumn 子项的固定跨度并重排
void AutoColumnSpanAll (bool value)
 更新 AutoColumn 子项的跨全部列开关并重排
void AutoColumnBreakAfter (bool value)
 更新 AutoColumn 子项的后换行开关并重排
 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 CheckBoxList 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]
 当前控件

详细描述

复选框列表控件帮助类

构造及析构函数说明

◆ CheckBoxListAjaxHelper()

FineUI.Core.CheckBoxListAjaxHelper.CheckBoxListAjaxHelper ( CheckBoxList source)

构造函数

参数
source

成员函数说明

◆ ClearSelection()

void FineUI.Core.CheckBoxListAjaxHelper.ClearSelection ( )

清空浏览器中的全部选择,保留控件数据;仅发送动作,不修改后台控件属性。

◆ DataSource() [1/3]

void FineUI.Core.CheckBoxListAjaxHelper.DataSource ( object dataSource)

设置数据源

参数
dataSource

◆ DataSource() [2/3]

void FineUI.Core.CheckBoxListAjaxHelper.DataSource ( object dataSource,
string dataValueField,
string dataTextField )

设置数据源

参数
dataSource
dataValueField
dataTextField

◆ DataSource() [3/3]

void FineUI.Core.CheckBoxListAjaxHelper.DataSource ( object dataSource,
string dataValueField,
string dataTextField,
string dataEnabledField )

设置数据源

参数
dataSource
dataValueField
dataTextField
dataEnabledField是否启用的字段

◆ LoadData() [1/2]

void FineUI.Core.CheckBoxListAjaxHelper.LoadData ( )

加载数据

◆ LoadData() [2/2]

void FineUI.Core.CheckBoxListAjaxHelper.LoadData ( params CheckItem[] items)

加载数据

参数
items

◆ Required()

void FineUI.Core.CheckBoxListAjaxHelper.Required ( bool required)

更新已有复选列表的必填规则。新规则在下一次校验时生效,当前选择保持不变。

参数
required是否至少要选择一项。

◆ SelectedValueArray()

void FineUI.Core.CheckBoxListAjaxHelper.SelectedValueArray ( params string[] selectedValueArray)

设置选中项

参数
selectedValueArray

属性说明

◆ Source

new CheckBoxList FineUI.Core.CheckBoxListAjaxHelper.Source
get

该类的文档由以下文件生成:
  • CheckBoxListAjaxHelper.cs