FileUploader控件的重置按钮 [英] Reset Button for FileUploader control

查看:373
本文介绍了FileUploader控件的重置按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于asp.net:

用于文件上传控制的重置按钮的代码是什么?
至于文本是Textbox1.text ="

For asp.net :

what is the code for the reset button for file upload control?
as for text is Textbox1.text = ""
for file upload what will it be?

推荐答案

据我所知,文件上传控件只有一个浏览按钮,单击该按钮可以选择一个文件.在您的计算机上进行上传.

您必须指的是另一个文件上传控件,能否对此进行详细说明?

至于添加一个重置按钮来与文件上传控件配合使用,我看不到有一个重置按钮的意义.除非您需要删除一些数据,或者将一些文本或图像重置为默认值.

就对象而言,它就是对象名称加上您要执行的操作.

fuMasterImage.saveas(某些物理路径")
fuMasterImage.ContentLength
As far as I know, the File Upload Control just has a browse button, when clicked, allows you to select a file on your computer for uploading.

You must be referring to another file upload control, could you elaborate on that?

As far as adding a reset button to partner with the file upload control, I don''t see the point in having one. Unless you need to delete some data, or reset some text or images back to default.

As far as the object goes, it would be the object name plus what you want to do.

fuMasterImage.saveas( "some physical path" )
fuMasterImage.ContentLength


这篇关于FileUploader控件的重置按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆