Ramakrishnan
Ramakrishnan

Reputation: 5456

Image Browser (Open Dialog) using asp.net?

I want to Browse for an Image ? How can i Browse for an Image using asp.net, How to achieve this?

Upvotes: 1

Views: 2967

Answers (3)

NakedBrunch
NakedBrunch

Reputation: 49423

It sounds like you're looking for a type of file manager/folder explorer. If that is the case, there are a lot of options for you:

  1. Great example of building your own from Matt Berseth - follow this short tutorial
  2. Download an open source control - http://www.izwebfilemanager.com/
  3. Telerik has a great (but not free) file explorer control for sale - http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx

I'm guessing that the example from Matt Berseth is going to be the best option for you. It's easy to implement and gives you great control.

Upvotes: 1

Kris van der Mast
Kris van der Mast

Reputation: 16623

ASP.NET doesn't have a file dialog. Since 2.0 however it provides a FileUpload control. This renders as a standard html input type="file" with which you can upload images.

Upvotes: 0

TheGeekYouNeed
TheGeekYouNeed

Reputation: 7539

the FileUpload control will let you browse for and select a file. How you use it is up to you.

Upvotes: 0

Related Questions