Re: datagrid to excel with image
- From: "MasterGaurav \(www.edujini-labs.com\)" <gaurav.vaish.nospam@xxxxxxxxxxxxxxxx>
- Date: Tue, 8 May 2007 23:14:11 +0530
Hi.
I have a datagrid which displays images in
cells. User wants to download the grid data as excel file.
Now, if datagrid contains only data, it is fine. But if it
contains some images, images are not displayed in the
excel.is it possible to display images also...
What do you mean by "download the grid data as excel file"? Are you trying
to use the more-popular choice of setting the content-type as
"application/vnd.ms-excel", then what I think you are missing is the
"absolute URL" of the images.
If you are using only relative paths, Excel will search for the images in
the local folder of the target machine... use absolute URLs -- like
"http://..." Note that the way that these excel files are generated only
refer to the image and not embed them within.
--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujini-labs.com
-----------------------------------------
.
- References:
- datagrid to excel with image
- From: joy
- datagrid to excel with image
- Prev by Date: Re: grid cell has onclick but hand is not shown
- Next by Date: Re: Key in Dictionary
- Previous by thread: datagrid to excel with image
- Next by thread: Strange Problem: Templated checkbox column
- Index(es):
Relevant Pages
|
Loading