Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
No caption on printed grid...
posted

I'm trying to print the contents of a grid, but no matter what I try, it won't print the caption.

 

Here's the code that I use for printing:

 

     grdDimensions.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True
     grdDimensions.Text = "Document Caption"
     grdDimensions.DisplayLayout.BorderStyleCaption = Infragistics.Win.UIElementBorderStyle.Rounded1

     grdDimensions.PrintPreview(grdDimensions.DisplayLayout, c_pdSetup)

What am I not doing? :)

 

tnx all!

 

g.