Thank you for contacting us.
You need to set the AutoSizeRows
property which is indicating whether row height in a RadGridView
will expand for multiline cell text. You can set the AutoSizeRows
property to true before printing and set it back to false when the dialog closes, or you can have it set to true all the time.
Unfortunately we also have a bug logged in our Public Issue Tracking System
related to this property.
You can read more about it, vote and subscribe for changes on this address: PITS issue
. The issue will be resolved in our future releases.
Currently, the possible workaround is to scroll to the bottom of the grid and then restore the scroll's value so that you wouldn't notice it has been moved. Please take a look at the following example:
sender, EventArgs e)
GridPrintStyle style =
style.FitWidthMode = PrintFitWidthMode.FitPageWidth;
.radGridView1.PrintStyle = style;
.radGridView1.TableElement.VScrollBar.Value = save;
I hope this will help. Do not hesitate to write back with further questions.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>