I have a library that will read a PDF file from disk and convert page 1 to a bitmap, how do I place it in an image or binaryimage column in a grid without writing it back out to disk?
Thanks
1 Answer, 1 is accepted
0
Veli
Telerik team
answered on 21 Apr 2010, 02:52 PM
Hello Donald,
Having said "without writing it back out to disk", I believe you have the converted image in some form of binary data in memory. And you need to pass it on to a grid cell for display. If this is the case, then the most viable option for you would be to have a GridTemplateColumn with a RadBinaryImage in the ItemTemplate:
binaryImage.DataValue = imageData; //imageData is the binary image data in byte[]
}
}
Check it out.
Regards,
Veli
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.