ASP.NET 2.0 ImageField Upload Image Insert / Update

J

JpMaxMan

Greetings - I have found very little definitive information on this.
From what I can surmize at some point the ability to update an image in
the gridview using the imagefield was removed from the final version of
asp.net 2.0?

If this is the case, does anyone have any work arounds for how to use a
edit template to allow a user to browse and upload a replacement image
when editing a row?

If this is not the case, what is the trick to get more than just a text
field with the image path stored in the db when editing the row?
 
J

JpMaxMan

To clarify - a bit, The problem is with using the standard update /
insert commands giving the user the ability to upload a new image, have
that image stored in a designated directory and publish the name of the
image back to the database. Not with displaying the image in the grid -
that is pretty straight forward. But once I display it, the user needs
to be able to update or insert a new image via an HTTP file upload control.
 
J

JpMaxMan

Peter - thanks very much for your response, the silence has been
deafening ;) I thought of this and I also had a working implementation
that used a pop-up to upload the image. However, this seems kludgey and
it seems to me that the user should be able to do this when they
"insert" or "update" a record with the other fields. This would
essentially make it a two step process to add info to the data grid,
then click on the HTMLInputFile control in the grid once the new record
was populated. Similarly, if you wanted to update information and an
image you'd have to first update the info then update the image.

Thank you for the suggestion - I'm just surprised that many others have
not wanted to do this! I try to stay away from the bleeding edge ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top