i want grid to be exported as image .Can you please help me out.Any help Appreciable
3 Answers, 1 is accepted
answered on 12 May 2011, 09:19 AM
This is not supported out-of-the box. However it is partially achievable by means of the framework .
You can render any UI control to a bitmap using WritableBitmap.
by var wb = new WriteableBitmap(myUIControl, null);
myImageControl.Source = wb;
However I said partially , as this will get you to an image of what you see on the screen .
In case RadGridView has more records ( with a vertical ScrollViewer), this method will give only the ones visible currently in the viewport.
An alternative would be to export RadGridView to one of the internally supported formats and use an external tool to convert it to an image .
I believe this is as close as we can get.
All the best,
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