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

RadGrid Hypelink and Excel Export

1 Answer 197 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yngwie
Top achievements
Rank 1
Yngwie asked on 13 Oct 2008, 02:34 PM
Hi everyone, I have a webpage includes RadGrid and it has several columns, one of the column shows us the member's e-mail addresses, and each row has a hyperlink attribute ( to send instant mail with outlook or etc.) But All RadGrid also exportable with Excel. Here is a little bit problem, because when I want to use Hyperlink attribute to link outlook I've to change the type of the column,
and it can't appear in the exported file, other columns has not such a problem, they appears stably.

The Normal columns uses : <radG:GridBoundColumn DataField="E_MAIL">
Hyperlinked Columns uses : <radG:GridHyperLinkColumn DataNavigateUrlFields="E_MAIL"> 

So How can I show the E MAIL columns when I export to Excel ?

HyperLinked Code :

<

radG:GridHyperLinkColumn DataNavigateUrlFields="E_MAIL" UniqueName="E_MAIL" DataTextField="E_MAIL" DataNavigateUrlFormatString="mailto:{0}" DataTextFormatString="{0}"
ItemStyle-Width="100px" ItemStyle-Font-Underline="true" HeaderText="E-Mail" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
</radG:GridHyperLinkColumn>

 


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Oct 2008, 04:01 AM
Hi,

Go through the following help article which explains how to export GridButtonColumn/GridTemplateColumn/GridHyperLinkColumn data.
Exporting tips and tricks

Thanks
Shinu.
Tags
Grid
Asked by
Yngwie
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or