I am using a thumbnail (ashx) to display an image on an image control inside a grid. I am using the following line.
ImageUrl='<%# "../../" & DataBinder.Eval(Container.DataItem, "product_image") %>'
This line works fine, however, if I send the grid html by email to all users, they receive it but dont receive the image. I tried replacing that line of code with the following, but it didnt work. It even stopped showing the image in the grid itself:
ImageUrl='<%#Server.MapPath("") + "/" + DataBinder.Eval(Container.DataItem, "product_image")%>'
What would be the problem? Is it the thumbnail itself, or the path or what exactly?