Hi,
I have a question about the exportToPdf functionnality of the RadGrid. I hope you'll help me :).
I use this code to generate a radgrid to pdf format :
These lines of codes generate a grid in pdf format where all columns have the same width (issue).
But there are some columns which need less width than others.
how can I do to autosize the columns please ?
Thank you.
Assembly Version : 2008.2.723.20
Telerik.Web.UI.dll
I have a question about the exportToPdf functionnality of the RadGrid. I hope you'll help me :).
I use this code to generate a radgrid to pdf format :
RadGridComparisonLines.ExportSettings.IgnorePaging =
true;
RadGridComparisonLines.ExportSettings.Pdf.AllowPrinting =
true;
RadGridComparisonLines.ExportSettings.Pdf.PageLeftMargin =
Unit.Pixel(10);
RadGridComparisonLines.ExportSettings.Pdf.PageRightMargin =
Unit.Pixel(10);
RadGridComparisonLines.ExportSettings.ExportOnlyData =
false;
RadGridComparisonLines.MasterTableView.ExportToPdf();
These lines of codes generate a grid in pdf format where all columns have the same width (issue).
But there are some columns which need less width than others.
how can I do to autosize the columns please ?
Thank you.
Assembly Version : 2008.2.723.20
Telerik.Web.UI.dll