1
69
这是复杂的更好的使用 jquery forms plugin . 以下是示例: Html.注册表窗体
操作方法
进度条
Jquery查询&表单脚本
使现代化 有人因为Ajax.BeginForm而两次调用操作方法,只需将其转换为Html.BeginForm.()。 有关更多说明和下载示例代码,请参阅 this blog . |
2
6
答案来自
这是由于使用
下面是一个例子:
|
3
3
您需要html5文件处理和读取客户端上的文件内容,以获得base64编码的数据。 在客户端上,您必须放置:
因此,您的代码将使用文件数据(文件名、类型、大小、base64编码的内容)填充隐藏字段。 在服务器端,您放置:
代码需要根据您的模型和逻辑进行修改,但它对我有效 |