Use the SWFUpload component to upload images without refreshing the image,
Use the SWFUpload component to upload images without refreshing
During project creation, A New Image Upload without refreshing is required. I have heard of SWFUpload before, so I want to use SWFUpload to upload images without refreshing, because my project belongs to ASP. so this article focuses on ASP. NET, I personally feel that the example is very clear. It is not difficult to refer to the document for development.
0. First download the swfUpload package. The downloaded package contains the samples folder and the demos folder under samples. Open the demos folder and you can see the structure shown in.
What we will use soon will include: the files in the swfupload directory and css are not recommended to avoid conflicts with the CSS written by ourselves, so that the page layout is completely messy. If you want to add Styles, you 'd better write them by yourself.
Open the applicationdemo.net directory and you will see this structure.
Open index.html and you can see this page.
Click Application Demo C # Under NET2.0
Resources to be referenced are included in the project (including files in the swfupload folder and resource files in the demo, handlers. js is the js file under the js directory in the demo)