Cheston Williams
Top achievements
Rank 1
Cheston Williams
asked on 15 Jul 2008, 01:50 PM
I am outputting my grid in ExcelML format. Is it possible to add a hyperlink to the cells?
5 Answers, 1 is accepted
0
Cheston Williams
Top achievements
Rank 1
answered on 15 Jul 2008, 01:54 PM
I forgot to mention that I have ExportOnlyData set to True.
0
Accepted
Hello Cheston,
You can easily add links to ExcelML export sheet, by hooking to the RadGrid's ExcelMLExportRowCreated event. There you can find the appropriate cell and add to it a HRef attribute with the url as a value. I have attached a simple page in which is demostrated this approach. Please give it a try and see if it helps.
Greetings,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can easily add links to ExcelML export sheet, by hooking to the RadGrid's ExcelMLExportRowCreated event. There you can find the appropriate cell and add to it a HRef attribute with the url as a value. I have attached a simple page in which is demostrated this approach. Please give it a try and see if it helps.
Greetings,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Cheston Williams
Top achievements
Rank 1
answered on 16 Jul 2008, 02:41 PM
Thank you. This was just what I needed.
0
Chris
Top achievements
Rank 1
answered on 16 Jul 2008, 03:53 PM
Hi,
If I export to Excel output (not ExcelML), currently I have a telerik:GridHyperLinkColumn which displays no content in the excel spreadsheet while I set the ExportOnlyData=true even tho I set the column visible=true.
1. How do I make the content to be able to be displayed from the HyperLinkColumn?
2. If I set ExportOnlyData=false, I can see all the HyerLinkColumn without any problem, but is it possible to make it no clickable or hyperlinkable inside the excel spreadsheet?
Chris
If I export to Excel output (not ExcelML), currently I have a telerik:GridHyperLinkColumn which displays no content in the excel spreadsheet while I set the ExportOnlyData=true even tho I set the column visible=true.
1. How do I make the content to be able to be displayed from the HyperLinkColumn?
2. If I set ExportOnlyData=false, I can see all the HyerLinkColumn without any problem, but is it possible to make it no clickable or hyperlinkable inside the excel spreadsheet?
Chris
0
Cheston Williams
Top achievements
Rank 1
answered on 17 Jul 2008, 01:34 AM