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.
Hi,
As I can see from your sample code you are using a GIF file.
Silverlight doesn't support GIF files.
You can read more about that here:http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapimage(VS.95).aspx