我需要自动回传ASP文件上传的代码 [英] i need code for autopostback ASP fileupload

查看:81
本文介绍了我需要自动回传ASP文件上传的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要上传图像而没有任何按钮单击,因此需要onchange n自动回发以在浏览时显示图像.单击Fileupload控件.

i wantto upload an image without any button click so need onchange n autopostback to display image on browse Click of Fileupload control.

推荐答案

文件路径位于文件上传控件的文本框中,应显示图像(用户无需进行任何其他单击).

如果是这种情况,您可以选择Callback处理程序,我认为这可以解决您的问题.
Do you mean that the moment file path comes in textbox of fileupload control, the image should be displayed (without any other click to be done by user).

If this is the case, you may opt the Callback handler, I think that may solve your problem.


这篇关于我需要自动回传ASP文件上传的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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