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

Squeezed Image in CommandItemTemplate pdf export

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 12 Jul 2010, 05:22 PM
Hi

I am having a strange problem.
I have a grid that exports nicely to pdf , and includes some text and a logo image at the top,
using the CommandItemTemplate.

The output looks fine until I try to add a GroupByExpressions section in the MasterPageView, and then 
in the pdf the logo gets squeezed to about 20% of its proper size.

It is as if the GroupByExpressions code, although invisible, takes up screen area and squeezes the image

Can anyone shed light on this?

Thanks for any help

Clive

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 13 Jul 2010, 12:31 PM
Hello Clive,

Please try to invoke e.Item.PrepareItemStyle()  if you have an image that spans over more than one cell (column).
PDF export

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
Clive Hoggar
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or