From 308cc8bedc996f21dec2807d724c1d83b6f6a177 Mon Sep 17 00:00:00 2001 From: KB Bot Date: Thu, 10 Oct 2024 16:01:16 +0000 Subject: [PATCH 1/5] Added new kb article grid-export-image-column-excel --- .../grid-export-image-column-excel.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 knowledge-base/grid-export-image-column-excel.md diff --git a/knowledge-base/grid-export-image-column-excel.md b/knowledge-base/grid-export-image-column-excel.md new file mode 100644 index 0000000000..f109d70de1 --- /dev/null +++ b/knowledge-base/grid-export-image-column-excel.md @@ -0,0 +1,45 @@ +--- +title: Exporting Grid's Image Column to Excel in Blazor +description: Learn how to export an image column from the Telerik Blazor Grid to an Excel file by utilizing the Document Processing Library. +type: how-to +page_title: How to Export Grid's Image Column to Excel with Blazor +slug: grid-export-image-column-excel +tags: grid, blazor, telerik, export, excel, image, column +res_type: kb +ticketid: 1666986, 1662544, 1645206, 1655440 +--- + +## Environment + + + + + + + + + + + + +
ProductGrid for Blazor,
Document Processing Library
Version6.0.0
+ +## Description + +I want to export the Telerik Blazor [Grid]({%slug grid-overview%})'s column that displays images to an Excel file. The images are rendered in a [Grid column template]({%slug grid-templates-column%}). How can I include the image column in the Excel export? + +## Solution + +To export an image column from the Grid to Excel, follow these steps: + +1. Handle the Grid's [`OnAfterExport` event]({%slug grid-export-events%}#onafterexport) to capture the Excel export output as a memory stream. +2. Use the [Document Processing Library](https://docs.telerik.com/devtools/document-processing/introduction) to modify the Excel file similar to the example in the knowledge base article about [custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}). The SpreadProcessing library supports [inserting images in the cells](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/shapes-and-images). + +For more details on working with images in the Document Processing Library, refer to the [official documentation](https://docs.telerik.com/devtools/document-processing/introduction). + +If you encounter any questions regarding the usage of the Document Processing libraries, feel free to ask for further assistance the DocumentPorcessing team. + +## See Also + +- [Handling Export Events in Grid]({%slug grid-export-events%}) +- [Knowlegde base article about custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}) From b0dddd40002320c65c920eb2ab13eede30917be9 Mon Sep 17 00:00:00 2001 From: NansiYancheva <106161782+NansiYancheva@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:55:05 +0300 Subject: [PATCH 2/5] Update knowledge-base/grid-export-image-column-excel.md Co-authored-by: Iva Stefanova Koevska-Atanasova --- knowledge-base/grid-export-image-column-excel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-base/grid-export-image-column-excel.md b/knowledge-base/grid-export-image-column-excel.md index f109d70de1..a4a58610d0 100644 --- a/knowledge-base/grid-export-image-column-excel.md +++ b/knowledge-base/grid-export-image-column-excel.md @@ -42,4 +42,4 @@ If you encounter any questions regarding the usage of the Document Processing li ## See Also - [Handling Export Events in Grid]({%slug grid-export-events%}) -- [Knowlegde base article about custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}) +- [Knowlegde base article about custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}) From 4540be49b3d4d9f554dd7ffe7474ac90d07c5ec4 Mon Sep 17 00:00:00 2001 From: NansiYancheva Date: Mon, 14 Oct 2024 16:03:59 +0300 Subject: [PATCH 3/5] add reference --- knowledge-base/grid-export-image-column-excel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-base/grid-export-image-column-excel.md b/knowledge-base/grid-export-image-column-excel.md index f109d70de1..707cf1214f 100644 --- a/knowledge-base/grid-export-image-column-excel.md +++ b/knowledge-base/grid-export-image-column-excel.md @@ -37,7 +37,7 @@ To export an image column from the Grid to Excel, follow these steps: For more details on working with images in the Document Processing Library, refer to the [official documentation](https://docs.telerik.com/devtools/document-processing/introduction). -If you encounter any questions regarding the usage of the Document Processing libraries, feel free to ask for further assistance the DocumentPorcessing team. +If you encounter any questions regarding the usage of the Document Processing libraries, [contact the DocumentPorcessing team](https://docs.telerik.com/devtools/document-processing/knowledge-base/submit-support-tickets). ## See Also From 8226aa9b24af5da13ef0c6cc3e9b0eafd1bb1de9 Mon Sep 17 00:00:00 2001 From: NansiYancheva <106161782+NansiYancheva@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:52:51 +0300 Subject: [PATCH 4/5] Update knowledge-base/grid-export-image-column-excel.md Co-authored-by: Nadezhda Tacheva <73842592+ntacheva@users.noreply.github.com> --- knowledge-base/grid-export-image-column-excel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-base/grid-export-image-column-excel.md b/knowledge-base/grid-export-image-column-excel.md index 4c682594c2..df6bfdb386 100644 --- a/knowledge-base/grid-export-image-column-excel.md +++ b/knowledge-base/grid-export-image-column-excel.md @@ -33,7 +33,7 @@ I want to export the Telerik Blazor [Grid]({%slug grid-overview%})'s column that To export an image column from the Grid to Excel, follow these steps: 1. Handle the Grid's [`OnAfterExport` event]({%slug grid-export-events%}#onafterexport) to capture the Excel export output as a memory stream. -2. Use the [Document Processing Library](https://docs.telerik.com/devtools/document-processing/introduction) to modify the Excel file similar to the example in the knowledge base article about [custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}). The SpreadProcessing library supports [inserting images in the cells](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/shapes-and-images). +2. Use the [SpreadProcessing library](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/overview) to modify the Excel file. Similar to how the exported file is customized here - [Custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}). The SpreadProcessing library supports [inserting images in the cells](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/shapes-and-images). For more details on working with images in the Document Processing Library, refer to the [official documentation](https://docs.telerik.com/devtools/document-processing/introduction). From 83d4ed4e1a5e2a73be307f140a0ac08044257415 Mon Sep 17 00:00:00 2001 From: NansiYancheva Date: Mon, 14 Oct 2024 19:05:39 +0300 Subject: [PATCH 5/5] update after review --- .../grid-export-image-column-excel.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/knowledge-base/grid-export-image-column-excel.md b/knowledge-base/grid-export-image-column-excel.md index df6bfdb386..2ad65f1aa2 100644 --- a/knowledge-base/grid-export-image-column-excel.md +++ b/knowledge-base/grid-export-image-column-excel.md @@ -12,16 +12,12 @@ ticketid: 1666986, 1662544, 1645206, 1655440 ## Environment - - - - - - - - - - + + + + + +
ProductGrid for Blazor,
Document Processing Library
Version6.0.0
ProductGrid for Blazor
## Description @@ -35,8 +31,6 @@ To export an image column from the Grid to Excel, follow these steps: 1. Handle the Grid's [`OnAfterExport` event]({%slug grid-export-events%}#onafterexport) to capture the Excel export output as a memory stream. 2. Use the [SpreadProcessing library](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/overview) to modify the Excel file. Similar to how the exported file is customized here - [Custom cell formatting of the exported file with RadSpreadProcessing]({%slug grid-kb-custom-cell-formatting-with-radspreadprocessing%}). The SpreadProcessing library supports [inserting images in the cells](https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/shapes-and-images). -For more details on working with images in the Document Processing Library, refer to the [official documentation](https://docs.telerik.com/devtools/document-processing/introduction). - If you encounter any questions regarding the usage of the Document Processing libraries, [contact the DocumentPorcessing team](https://docs.telerik.com/devtools/document-processing/knowledge-base/submit-support-tickets). ## See Also