Sandeep
Sandeep

Reputation: 31

upload image file without post back in asp.net

Does anybody know how can I upload an image file in a specific folder without post back using c# .

Upvotes: 1

Views: 1910

Answers (2)

Mark Redman
Mark Redman

Reputation: 24515

You could use flash and an HttpHandler to prevent the requirement for a postback.

I have use this example in the past: http://www.codeproject.com/KB/aspnet/FlashUpload.aspx

Upvotes: 1

Vitaliy Ulantikov
Vitaliy Ulantikov

Reputation: 10514

There is no way to do this. But you can accomplish it using AJAX. Take a look at jquery and some it's plugins, for example jQuery File Upload Plugin

Upvotes: 2

Related Questions