在更新面板中以图像显示上传. [英] Upload with image display in update panel.
本文介绍了在更新面板中以图像显示上传.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以创建上传表单?上传后我可以直接浏览图片而无需重新加载页面
我在更新面板中有一个包含大量控件的页面.
我需要添加一个面板,用户可以在该面板上异步上传文件,然后上传完成后,图片将被加载到页面上的某处而没有完整的回发.
我可以使用Ajax上载控件和JavaScript来做到这一点,但是在页面上进行任何部分发布后,图片都将卸载.
我非常感谢您的帮助.
Is there a way to create a upload form were I can browse the picture directly after the upload without page reloading
I have a page with plenty of controls in update panels.
I need to add a panel where a user can upload a file asynchronously then after the upload finishes the picture will be loaded somewhere on the page without full post back.
I was able to do that with Ajax upload control and JavaScript but the picture will unload after any partial post back on the page.
I do appreciate any help
推荐答案
当然有.您还有更具体的问题吗?
Of course there is. Do you have a more specific question?
这篇关于在更新面板中以图像显示上传.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文