Hello,
I try to add a RadBinaryImage to my Webform after I clicked a certain row in my RadGrid.
Funny is that the GridBinaryImageColumn shows the thumbnail of the Image clearly but the RadBinaryImage (big image) won't show anything afterwords...
Code looks like this:
RadBinaryImage img = new RadBinaryImage();
img.DataValue = GetVideoById(videoId).FrontImage;
img.AutoAdjustImageControlSize = false;
img.Width = 600;
img.Height = 300;
cell = new HtmlTableCell();
cell.Controls.Add(img);
row = new HtmlTableRow();
row.Cells.Add(cell);
table1.Rows.Add(row);
placeImg.Controls.Add(table1); -> Placeholder for table
Thanks for help!
Beat
I try to add a RadBinaryImage to my Webform after I clicked a certain row in my RadGrid.
Funny is that the GridBinaryImageColumn shows the thumbnail of the Image clearly but the RadBinaryImage (big image) won't show anything afterwords...
Code looks like this:
RadBinaryImage img = new RadBinaryImage();
img.DataValue = GetVideoById(videoId).FrontImage;
img.AutoAdjustImageControlSize = false;
img.Width = 600;
img.Height = 300;
cell = new HtmlTableCell();
cell.Controls.Add(img);
row = new HtmlTableRow();
row.Cells.Add(cell);
table1.Rows.Add(row);
placeImg.Controls.Add(table1); -> Placeholder for table
Thanks for help!
Beat