Reputation: 98750
I use Devexpress ASP.NET component.
My question is; Can i use Devexpress Exporting Code with only Devexpress Gridview ? Is there any way using vith normal Gridview ?
For example;
I use this exporting code;
protected void btnPdfExport_Click(object sender, EventArgs e) {
gridExport.WritePdfToResponse();
}
with Devexpress Gridview;
<dx:ASPxGridView ID="grid">
</dx:ASPxGridView>
Is there any way to use same exporting code with normal Gridview
?
<asp:gridview id="grid">
</asp:gridview>
Upvotes: 0
Views: 3223
Reputation: 11376
The ASPxGridViewExporter uses the XtraPrinting Library to export the grid content to different formats. Unfotunately, XtraPrinting Library does not know about the standard GridView and thus cannot export it.
Upvotes: 3