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

Export Images To Excel From RadGridview for Silverlight

3 Answers 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sourabh
Top achievements
Rank 1
Sourabh asked on 20 Apr 2011, 09:47 AM

when working on project, i have a many images which will display in the radgridview. It is working fine and client likes all the features which are supported by telerik silverlight radgrid. Now the client has requested me to export the following into excel .

I was getting the data exported to excel correctly but Images were not displayed, Instead of Images i was getting converted call name . Here are the multiple things which i have tried.

 

 

<

 

 

telerik:GridViewImageColumn Header="Image" DataMemberBinding="{Binding Image}" >

 

 

 

 

 

 

 

 

 

 

 

 

</telerik:GridViewImageColumn>

 



Here Image is URI of the Image.

Second way:

<

 

 

telerik2:GridViewDataColumn Header="YTD Status">

 

 

 

 

<telerik2:GridViewDataColumn.CellTemplate>

 

 

 

 

<DataTemplate>

 

 

 

 

<Image Source="{Binding YTDStatus, Converter={StaticResource rate1imageresource}}" Width="12" Height="12" />

 

 

 

 

</DataTemplate>

 

 

 

 

</telerik2:GridViewDataColumn.CellTemplate>

 

 

 

 

</telerik2:GridViewDataColumn>

 



In first case i was getting url of image and in second case i was getting class name.

Can you send me a sample how to export Images from radgridview for silverlight to Excel

Thanks
Ram

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 20 Apr 2011, 09:50 AM
Hello Sourabh,

 

Please check the following forum thread for further info. 

Kind regards,
Vanya Pavlova
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
0
Sourabh
Top achievements
Rank 1
answered on 20 Apr 2011, 10:52 AM
I have checked the forum , but in that it says that 

"You cannot export images since you cannot embed images in the supported formats"

There is no other way to export Images to excel.

Are you going to release export to excel with images in next release.

Thanks
Ram
0
Singla
Top achievements
Rank 1
answered on 17 May 2012, 08:41 AM
Hi Vanya

The link which have mentioned is for PDF. WIll export to excel for images work for Excel?
Tags
GridView
Asked by
Sourabh
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Sourabh
Top achievements
Rank 1
Singla
Top achievements
Rank 1
Share this question
or