How to bring path of image file in file upload control?
How to bring path of image file in file upload control when i going to edit my content.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jul 9, 2011, 5:38 AM EDT
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 8, 2011, 10:12 PM EDT
This code might help you........
Vikas AhlawatRank #2,648 · 525 reputationPosted Jul 8, 2011, 10:19 PM EDT
I have able to save the image.
but when we want to edit the image then how bring back the same file in fileupload control?
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 8, 2011, 10:37 PM EDT
File upload control is to uploading the file only.it doesn't have any option to edit the image or image address....
Vikas AhlawatRank #2,648 · 525 reputationPosted Jul 8, 2011, 11:12 PM EDT
I thing you are not understand my problem.
First I have upload the image with its name
Now i want to update the image name only, not image.
So the problem is that there is not path in upload control.
is it possible to bring back the path without click browse button?
optionly i can do that (if there is no file in upload control then it update only image name)
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 8, 2011, 11:27 PM EDT
definitely we can change the path..
At the time of uploading the image file, in one column store the path address..
Show these values in Gridview and there you can edit...