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

CommandItemDisplay export to PDF problem

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Billy8988
Top achievements
Rank 1
Billy8988 asked on 03 Aug 2008, 12:15 AM
Hi,

I am creating a custom commanditem like this

ReportsGrid.MasterTableView.CommandItemDisplay =

GridCommandItemDisplay.Bottom;
ReportsGrid.MasterTableView.CommandItemTemplate =
new MyTemplate(
);

In my 
MyTemplate's InstantiateIn, I create a custom label with my own message.
It works fine. But when I try to export this to pdf, the commanditem is completely mangled with improper width and some how it resorts to the width of the first column of the grid.

How do I fix this?

-MK

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Aug 2008, 05:29 AM
Hi Murugan,

Here is a KB article which explains how to export styles to pdf. Go through it and see whether it is helpful.
Exporting styles in PDF

Shinu.
Tags
Grid
Asked by
Billy8988
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or