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
185
AfterColPosChanged
posted

The AfterColPosChanged event fires for each record in a grid when using the Infragistics.Win.UltraWinGrid.DocumentExport to print a PDF of the records in the grid.  So, when executing the following code, the AfterColPosChanged event fires for each record in the grid:

 

 

Private Sub cmdPDFForms_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdPDFForms.Click

 

 

Me.SaveFileDialog.AddExtension = True

 

 

 

 

 

 

 

 

Me.SaveFileDialog.DefaultExt =

".pdf"

 

 

 

Me

.SaveFileDialog.ShowDialog()

 

 

 

If SaveFileDialog.FileName <> ""

Then

 

 

 

Me.UltraGridDocumentExporter1.Export(Me.ugForms, Me.SaveFileDialog.FileName, Infragistics.Win.UltraWinGrid.DocumentExport.GridExportFileFormat

.PDF)

 

 

 

End

If

 

 

 

End Sub

This problem does not occur using the Excel exporter or PrintDocument.  Those behave as expected.

 

Parents Reply Children
No Data