Sometimes we have found that when we call WinGrid.PrintPreview() we have the last row duplicated on the next page on certain pcs/printers. This row is duplicated not only when printed but when viewed in print preview. Any ideas??I'm using net advantage 2006 v3 clr2.0.
----------------------------------------------
Public Sub PrintButtonClicked(ByVal sender As Object, ByVal e As EventArgs)If dsWorkHistory.CA_GetWorkHistoryReport.Rows.Count > 0 ThenTryugWorkHistory.PrintPreview()Catch ex As ExceptionVHCS.UI.TOOLS.VHCSMessage.MessageError(ex.Message)End TryEnd IfEnd Sub
-----------------------------------------------------------------------------------
Private Sub ugWorkHistory_InitializePrintPreview(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.CancelablePrintPreviewEventArgs) Handles ugWorkHistory.InitializePrintPreviewe.PrintPreviewSettings.Zoom = 0.9e.PrintPreviewSettings.DialogLeft = CInt(SystemInformation.WorkingArea.X * 0.95)e.PrintPreviewSettings.DialogTop = CInt(SystemInformation.WorkingArea.Y * 0.95)e.PrintPreviewSettings.DialogWidth = CInt(SystemInformation.WorkingArea.Width * 0.95)e.PrintPreviewSettings.DialogHeight = CInt(SystemInformation.WorkingArea.Height * 0.95)e.PrintPreviewSettings.DialogCaption = "Member Contribution Work History"e.DefaultLogicalPageLayoutInfo.FitWidthToPages = 1e.PrintDocument.DefaultPageSettings = settingsPagee.DefaultLogicalPageLayoutInfo.PageHeader = "Contribution Work History for " & sWorkHistory.CA_GetWorkHistoryReport.Rows(0)("Employee").ToStringe.DefaultLogicalPageLayoutInfo.PageHeaderHeight = 40e.DefaultLogicalPageLayoutInfo.PageHeaderAppearance.FontData.SizeInPoints = 12e.DefaultLogicalPageLayoutInfo.PageHeaderAppearance.TextHAlign = HAlign.Centere.DefaultLogicalPageLayoutInfo.PageHeaderBorderStyle = UIElementBorderStyle.Solide.DefaultLogicalPageLayoutInfo.PageFooter = vbCrLf & "Page <#>" & vbCrLf & Date.Now.ToShortDateStringe.DefaultLogicalPageLayoutInfo.PageFooterAppearance.TextHAlign = HAlign.Righte.DefaultLogicalPageLayoutInfo.PageFooterAppearance.FontData.Italic = DefaultableBoolean.Truee.DefaultLogicalPageLayoutInfo.PageFooterBorderStyle = UIElementBorderStyle.Solide.DefaultLogicalPageLayoutInfo.ClippingOverride = ClippingOverride.Autoe.PrintDocument.DocumentName = "Member Contribution Work History"End Sub
I'm noticing this behavior with the latest NetAdvantage_WinForms_20092.2058_SR
Is this a known issue?