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

RadGrid Export to Pdf

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mehreen
Top achievements
Rank 1
Mehreen asked on 13 May 2015, 02:31 PM

1) I am having trouble with putting a banner in the pdf header. When I place an image, it gets placed wither on the left side or right or center but not across the page like a banner.

 

<PageHeader>
< MiddleCell Text="<img src='Images/CME-Transcript-HeaderLong.jpg' />" TextAlign="Center" /><RightCell TextAlign="Center" />
< /PageHeader>

 

 

2) I am displaying some data generated dynamically in the middle of the header. I need to move it below the header but right above the radgrid on the pdf. I need to display it in a horizontal line above the grid. How do I go about changing the position of data? 

 

headerText += "<br /><span style='font-size:8px;font-family:Segoe UI;'>Report Date: " + DateTime.Now.Date.ToShortDateString() + "</span>" ;
headerText += "<br /><span style='font-size:8px; font-family:Segoe UI;'>" + lblParticipantName.Text + "</span>";
headerText += "<br /><span style='font-size:8px; font-family:Segoe UI;'>SDMS Member #: " + lblNo.Text + "</span>";

RadGrid1.ExportSettings.Pdf.PageHeader.RightCell.Text = headerText;

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 18 May 2015, 08:47 AM
Hello Mehreen,

I noticed that you have already opened a forum thread with the same requirements so I would appreciate if we can continue our conversation there and close this one.

Regards,
Kostadin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Mehreen
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or