Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1253
ImageColumn
posted

Hello,

I'd like to put a image in the grid and here is my code :

grid.Columns.Add(new ImageColumn() { Key = "ImageLink", HeaderText = "Delete", ImageHeight = 25});

 public class Rec: EntityBase
    {
public string Id { get; set; }
public Uri ImageLink { get; set; }
}

.....

ImageLink =

new Uri(http://localhost:1115/Images/Delete.gif)

.....

grid.ItemsSource = e.Result;

I cannot see the image inside my grid.  What do I do wrong?  Thanks for your help.