This is a migrated thread and some comments may be shown as answers.

retrieve image from image cell

1 Answer 94 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 2
Marc asked on 20 Feb 2009, 08:51 PM

I can retrieve an image from an image cell with the following

myImage = radGrid.Rows(r).Cells(c).CellElement.Image 

Unfortunately this produces an error when attempting to retrieve an image from a cell that isn't currently visible on screen.

How do you retrieve an image from a cell that isn't visible?

I can retrieve the cell.value from a cell that isn't visible, but have trouble converting cell.value to an image.

Thank you for your help.

1 Answer, 1 is accepted

Sort by
0
Marc
Top achievements
Rank 2
answered on 20 Feb 2009, 09:05 PM
Sorry, I must have been a little drunk, the obvious method converts cell.value to image

myImage = CType(radGrid.Rows(r).Cells(c).Value, Image) 

Thank you anyway.
Tags
GridView
Asked by
Marc
Top achievements
Rank 2
Answers by
Marc
Top achievements
Rank 2
Share this question
or