This is a migrated thread and some comments may be shown as answers.

Image in grid

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lubna Ansari
Top achievements
Rank 1
Lubna Ansari asked on 04 Aug 2010, 02:58 PM
Hi,

How can I add a logo image at the top of the page while exporting rad grid in pdf format?

Regards,
Lubna.

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 09 Aug 2010, 09:12 AM
Hello Lubna,

You could add an image before the other content but this won't be a true header:
protected void RadGrid1_PdfExporting(object source, GridPdfExportingArgs e)
{
    e.RawHTML = "<img src='samplelogo.png' />" + e.RawHTML;
}

Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Lubna Ansari
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or