Hi,
I have a RadGrid control with multiple template columns, most of the template are defined like this
The template has an Image and a link next to it. It works fine when the Grid view is displays in the browser, but when I export this to PDF / Excel or Word by setting this property and clicking on the export button on the browser
In the exported data the Template Columns are left as blank. When on the export settings I set the ExportOnlyData="false"
I see all kinds of garbage being exported. Please have a look at the attached screen shot.
Why is the grid not being exported the way it looks in the browser ? Please let me know how to achieve this.
Thanks
I have a RadGrid control with multiple template columns, most of the template are defined like this
<
table
class
=
"itemLinkColumnTable"
>
<
tr
>
<
td
class
=
"imageColumn"
>
<
img
runat
=
"server"
id
=
"Icon"
class
=
"itemIcon"
align
=
"top"
/>
</
td
>
<
td
>
<
a
id
=
"Link"
runat
=
"server"
class
=
"titleText"
href
=
"javascript:void(0);"
> </
a
>
</
td
>
</
tr
>
</
table
>
The template has an Image and a link next to it. It works fine when the Grid view is displays in the browser, but when I export this to PDF / Excel or Word by setting this property and clicking on the export button on the browser
RadGrid.MasterTableView.CommandItemSettings.ShowExportToPdfButton =
true
;<br><span style=
"font-size: 11px; line-height: 1.4;"
>RadGrid.MasterTableView.CommandItemSettings.ShowExportToExcelButton =
true
;</span><br><span style=
"font-size: 11px; line-height: 1.4;"
>RadGrid.MasterTableView.CommandItemSettings.ShowExportToWordButton =
true
;</span>
In the exported data the Template Columns are left as blank. When on the export settings I set the ExportOnlyData="false"
I see all kinds of garbage being exported. Please have a look at the attached screen shot.
Why is the grid not being exported the way it looks in the browser ? Please let me know how to achieve this.
Thanks