none
ReportViewer Control column header wrap in winforms RRS feed

  • Question

  • Have a control in a winforms app and the column headers are forcibly wrapping as the column shrinks to fit the data.  Do not want this to happen.  Is there a way to force the column headers to not wrap?
    -MBowles
    Tuesday, November 29, 2011 7:18 PM

All replies

  • To my knowledge, the ReportViewer Control has no columns...

    This control may include a report which may contain several different controls, such as Tablix (Table or Matrix) or Chart.

    In a Tablix, each column has a Size property (usually set at design time).

    Please give more details.

    Thanks

     

    Tuesday, November 29, 2011 7:30 PM
  • Yeah, meant to say the report itself.   Have the header textbox set to canshrink = false.  No wrapping property is available.  The text gets wrapped only when viewing the report through the winforms laoded ReportViewer control.   Running in SSRS its fine and when printing from either the preview is fine.
    -MBowles
    Tuesday, November 29, 2011 7:43 PM