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