Hi all,

I know how to implement fileupload in ASP.Net but i have a little bit tricky situation over here:

I have a classic ASP.Net webform for saving and editing data for a customer. I also have a HtmlInputFile (input type=file) control that allows me to upload a picture for any given customer. Now my problem is that when editing the customer details, i should be able to view the path of the picture currently saved for a customer and when clicking on a browse button to be able to select another image file. the problem is that the user wants to see only 2 controls, namely a textbox for the file path and a browse button. but since the Filename property of an HtmlInputFile is readonly i cannot use that very same control to display the path of the file as saved in the database. One work around for this could have been to have a classic textbox and a browse button instead of the input type file control, but then when clicking on the browse button how can the browse dialog of the input type file or HtmlInputFile be shown?

I hope its clear enough to yield a few answers. thanx in advance.