在fileupload中设置img路径 [英] set img path in fileupload
本文介绍了在fileupload中设置img路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何将图像源值设置为FileUpload
< asp:FileUpload>
i想要在编辑html页面时保持价值,imr src应该在< asp:FileUpload
解决方案
http:/ /bytes.com/topic/c-sharp/answers/942142-how-can-i-fill-choose-file-upload-dialog-programmatically-using-c [ ^ ]
由于安全限制,这是不可能的。浏览器不允许这样做。
FileUpload
在用户进行选择时设置路径。
替代解决方案: - 使用Lable
控件来显示文件路径,而不是FileUpload
control。 / BLOCKQUOTE>
Hi
How to set image source value to FileUpload
<asp:FileUpload>
i want to keep value when i edit html page, the imr src should be there in <asp:FileUpload解决方案http://bytes.com/topic/c-sharp/answers/942142-how-can-i-fill-choose-file-upload-dialog-programmatically-using-c[^]
This is not possible due to Security Restrictions. Browsers don't allow this.
FileUpload
is set with the path, when user make a selection.
Alternate solution:- useLable
control to display file path rather thanFileUpload
control.
这篇关于在fileupload中设置img路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文