FineUIMvc 11.7
企业级 ASP.NET MVC 控件库
|
文件上传控件扩展 更多...
Public 成员函数 | |
FileUploadExtension (FileUpload source) | |
构造函数 | |
FileUploadExtension | Multiple (bool param) |
是否可以选择多个文件 | |
FileUploadExtension | AcceptFileTypes (string param) |
允许上传的文件类型(仅部分浏览器支持) | |
FileUploadExtension | ButtonText (string param) |
FileUploadExtension | ButtonOnly (bool param) |
FileUploadExtension | ButtonIconFont (IconFont param) |
FileUploadExtension | ButtonIconFontClass (string param) |
自定义按钮图标字体的样式类 | |
FileUploadExtension | ButtonIcon (Icon param) |
FileUploadExtension | ButtonIconUrl (string param) |
FileUploadExtension | ButtonIconAlign (IconAlign param) |
按钮图标的显示位置 | |
FileUploadExtension | ButtonSize (ButtonSize param) |
按钮的大小 | |
FileUploadExtension | ButtonDefaultState (bool param) |
向按钮添加CSS类(f-state-default) | |
FileUploadExtension | ButtonDefaultCorner (bool param) |
向按钮添加CSS类(f-corner-all) | |
FileUploadExtension | OnFileSelected (string action) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, string fields) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, params Parameter[] parameters) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (string action, string fields, params Parameter[] parameters) |
选中文件改变事件 | |
FileUploadExtension | OnFileSelected (Action< Event > eventAction) |
选中文件改变事件 | |
Public 成员函数 继承自 FineUIMvc.RealTextFieldExtension< FileUpload, FileUploadExtension > | |
RealTextFieldExtension (RealTextField source) | |
构造函数 | |
TExtension | ChangeEventDelay (int param) |
触发change事件之前延迟的毫秒数(默认为500ms,如果设为0则不延迟) | |
TExtension | InputType (string param) |
文本框类型,可设置HTML5属性(url, date, color, tel, number...) | |
TExtension | EmptyText (string param) |
文本框为空时显示的文本 | |
TExtension | Text (string param) |
文本 | |
TExtension | OnBlur (string action) |
失去焦点事件 | |
TExtension | OnBlur (string action, string fields) |
失去焦点事件 | |
TExtension | OnBlur (string action, params Parameter[] parameters) |
失去焦点事件 | |
TExtension | OnBlur (string action, string fields, params Parameter[] parameters) |
失去焦点事件 | |
TExtension | OnBlur (Action< Event > eventAction) |
失去焦点事件 | |
TExtension | OnTextChanged (string action) |
文本改变事件 | |
TExtension | OnTextChanged (string action, string fields) |
文本改变事件 | |
TExtension | OnTextChanged (string action, params Parameter[] parameters) |
文本改变事件 | |
TExtension | OnTextChanged (string action, string fields, params Parameter[] parameters) |
文本改变事件 | |
TExtension | OnTextChanged (Action< Event > eventAction) |
文本改变事件 | |
属性 | |
new FileUpload | Source [get] |
当前控件 | |
属性 继承自 FineUIMvc.RealTextFieldExtension< FileUpload, FileUploadExtension > | |
new RealTextField | Source [get] |
当前控件 | |
文件上传控件扩展
FineUIMvc.FileUploadExtension.FileUploadExtension | ( | FileUpload | source | ) |
构造函数
source |
FileUploadExtension FineUIMvc.FileUploadExtension.AcceptFileTypes | ( | string | param | ) |
允许上传的文件类型(仅部分浏览器支持)
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonDefaultCorner | ( | bool | param | ) |
向按钮添加CSS类(f-corner-all)
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonDefaultState | ( | bool | param | ) |
向按钮添加CSS类(f-state-default)
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonIcon | ( | Icon | param | ) |
按钮图标
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonIconAlign | ( | IconAlign | param | ) |
按钮图标的显示位置
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonIconFont | ( | IconFont | param | ) |
按钮图标字体
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonIconFontClass | ( | string | param | ) |
自定义按钮图标字体的样式类
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonIconUrl | ( | string | param | ) |
按钮图标地址
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonOnly | ( | bool | param | ) |
是否只显示按钮,不显示只读输入框
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonSize | ( | ButtonSize | param | ) |
按钮的大小
param |
FileUploadExtension FineUIMvc.FileUploadExtension.ButtonText | ( | string | param | ) |
按钮文本
param |
FileUploadExtension FineUIMvc.FileUploadExtension.Multiple | ( | bool | param | ) |
是否可以选择多个文件
param |
FileUploadExtension FineUIMvc.FileUploadExtension.OnFileSelected | ( | Action< Event > | eventAction | ) |
选中文件改变事件
eventAction | 事件代理函数 |
FileUploadExtension FineUIMvc.FileUploadExtension.OnFileSelected | ( | string | action | ) |
选中文件改变事件
action | 动作地址 |
FileUploadExtension FineUIMvc.FileUploadExtension.OnFileSelected | ( | string | action, |
params Parameter[] | parameters | ||
) |
选中文件改变事件
action | 动作地址 |
parameters | 请求参数 |
FileUploadExtension FineUIMvc.FileUploadExtension.OnFileSelected | ( | string | action, |
string | fields | ||
) |
选中文件改变事件
action | 动作地址 |
fields | 请求参数(字段或容器名称列表,以逗号分隔) |
FileUploadExtension FineUIMvc.FileUploadExtension.OnFileSelected | ( | string | action, |
string | fields, | ||
params Parameter[] | parameters | ||
) |
选中文件改变事件
action | 动作地址 |
fields | 请求参数(字段或容器名称列表,以逗号分隔) |
parameters | 请求参数 |
|
get |
当前控件