FineUICore 10.0
企业级 ASP.NET Core 控件库
载入中...
搜索中...
未找到
FineUICore.RadioButtonListAjaxHelper类 参考

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

类 FineUICore.RadioButtonListAjaxHelper 继承关系图:
FineUICore.FieldAjaxHelper< RadioButtonList, RadioButtonListAjaxHelper >

Public 成员函数

 RadioButtonListAjaxHelper (RadioButtonList source)
 构造函数
 
void SelectedValue (string selectedValue)
 设置选中项
 
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 RadioItem[] items)
 加载数据
 
void LoadData ()
 加载数据
 
- Public 成员函数 继承自 FineUICore.FieldAjaxHelper< RadioButtonList, RadioButtonListAjaxHelper >
 FieldAjaxHelper (Field source)
 构造函数
 
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的内容)
 
virtual string GetResetReference ()
 获取重置此字段的客户端脚本
 
virtual string GetValueReference ()
 获取此字段值的客户端脚本(注意返回的脚本不带结束分号)
 
void MarkInvalid (string message)
 设置字段验证失败的提示信息
 
void ClearInvalid ()
 清除验证失败的提示信息
 
string GetMarkInvalidReference (string message)
 获取字段验证失败提示信息的客户端脚本
 
string GetClearInvalidReference ()
 获取清除验证失败提示信息的客户端脚本
 

属性

new RadioButtonList Source [get]
 当前控件
 
- 属性 继承自 FineUICore.FieldAjaxHelper< RadioButtonList, RadioButtonListAjaxHelper >
new Field Source [get]
 当前控件
 

详细描述

单选框列表控件帮助类

构造及析构函数说明

◆ RadioButtonListAjaxHelper()

FineUICore.RadioButtonListAjaxHelper.RadioButtonListAjaxHelper ( RadioButtonList  source)

构造函数

参数
source

成员函数说明

◆ DataSource() [1/3]

void FineUICore.RadioButtonListAjaxHelper.DataSource ( object  dataSource)

设置数据源

参数
dataSource

◆ DataSource() [2/3]

void FineUICore.RadioButtonListAjaxHelper.DataSource ( object  dataSource,
string  dataValueField,
string  dataTextField 
)

设置数据源

参数
dataSource
dataValueField
dataTextField

◆ DataSource() [3/3]

void FineUICore.RadioButtonListAjaxHelper.DataSource ( object  dataSource,
string  dataValueField,
string  dataTextField,
string  dataEnabledField 
)

设置数据源

参数
dataSource
dataValueField
dataTextField

◆ LoadData() [1/2]

void FineUICore.RadioButtonListAjaxHelper.LoadData ( )

加载数据

◆ LoadData() [2/2]

void FineUICore.RadioButtonListAjaxHelper.LoadData ( params RadioItem[]  items)

加载数据

参数
items

◆ SelectedValue()

void FineUICore.RadioButtonListAjaxHelper.SelectedValue ( string  selectedValue)

设置选中项

参数
selectedValue

属性说明

◆ Source

new RadioButtonList FineUICore.RadioButtonListAjaxHelper.Source
get

当前控件


该类的文档由以下文件生成: