开发者

Using Devexpress Export Control with Gridview

开发者 https://www.devze.com 2023-02-25 12:35 出处:网络
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 ?

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开发者_如何学Go ?

<asp:gridview id="grid">
</asp:gridview>


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消