Hi, when i Export my webdatagrid to Excel i got the following Output. Each Row has the following Output. How can i get only the Data?
<span id="USC_x1_WG_Mitarbeiterliste_it0_0_TemplateLabel"></span><span id="USC_x1_WG_Mitarbeiterliste_it1_0_TemplateLabel">test</span> <span id="USC_x1_WG_Mitarbeiterliste_it2_0_TemplateLabel">test1</span> <span id="USC_x1_WG_Mitarbeiterliste_it3_0_TemplateLabel">test2</span> <span id="USC_x1_WG_Mitarbeiterliste_it4_0_TemplateLabel">test3</span> <span id="USC_x1_WG_Mitarbeiterliste_it7_0_TemplateLabel">test4</span>
Hello Martin,
I expect you can use a hidden column to hold the date you want and make it visible only prior exporting, so it is included in the exported data instead of the html one. You can refer to the following forum post and its sample attachment for illustration.
https://www.infragistics.com/community/forums/f/retired-products-and-controls/75133/webdatagrid-export-to-excel-still-contains-html-markup
Please let me know how my suggestion works for you!
Hi Ivaylo, thanks for your help. i have build in a second invisible grid with no styles or templatefield. with this it works the Export.
thanks martin