在模态弹出窗口中上传文件 [英] upload files in modal popup

查看:260
本文介绍了在模态弹出窗口中上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用jquery在asp.net中以模态弹出方式上传文件。任何人都可以帮助我解决这个问题。提前谢谢。

i want to upload files in modal popup in asp.net using jquery. can any one help me out to solve this issue. thanks in advance.

推荐答案

也可以发布您的代码,这样我们就可以尝试为您提供更好的解决方案。我现在所能做的就是给你一个很好的参考链接。



参考: - 使用jquery在asp.net的弹出窗口中上传文件
It is good to post your code also, so that we can try to give you better solution . All i can do now is giving you a good reference link.

Refer :- upload file in popup in asp.net using jquery


我们可以在jquery中处理文件上传器的onchange事件。 />
1.在此事件中,您可以使用javascript读取文件的内容,并使用ajax将内容发送到服务器端,您可以在其中调用数据库插入函数以在数据库中插入内容。或者您可以使用c#创建同名文件,使用ajax发送的内容。
We can work on onchange event of file uploader in jquery.
1.on this event you can read the content of the file using javascript and send the contents to the server side using ajax where you can call your database insertion function to insert the content in your database.Or you can make a file of same name using c# and the content that you just send using ajax .


这篇关于在模态弹出窗口中上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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