I am trying to create a FileOpen Dialog for my website in C#, whereby i want the starting directory to be my images folder and only want to select .jpg, .png & .gif files. I also want the dialog box to return the address as though the root was my images folder i.e.

Images\Gallery\Wedding Photos\image1.jpg

can anyone help me?

Recommended Answers

All 2 Replies

you cant do that with drag and drop toolbox controls. you need javascript file browser or asp.net file browser. search google with these.

you cant do that with drag and drop toolbox controls. you need javascript file browser or asp.net file browser. search google with these.

Thanks Serkan,

will try this!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.