Hi,
Hope you all are fine and doing great.I am using winGrid with 1 group and 3 Levels.When I try to print the grid using wingrid.print() method, it do print, but it print on multiple pages, even though there is lot space on previous page.On the Click event of print button, i wrote
Dim dr As DialogResult = PrintDialog1.ShowDialog() If dr = Windows.Forms.DialogResult.OK Then Dim prtDoc As New Printing.PrintDocument prtDoc.DefaultPageSettings.Landscape = True prtDoc.PrinterSettings = PrintDialog1.PrinterSettings UGSearchResult.Print(UGSearchResult.DisplayLayout, prtDoc) End If
Private Sub UGSearchResult_InitializePrint(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.CancelablePrintEventArgs) Handles UGSearchResult.InitializePrint e.DefaultLogicalPageLayoutInfo.FitWidthToPages = 1End Sub
While printing, when i open the printing task, it shows me document 1 of 1 is printing.How should i resolve this problem
Thanks in Anticipation
Regards,Muhamamd Zahid
Do you have the latest Hot Fix? If not, I recommend downloading it and see if that helps.
If not, you should Submit an incident to Infragistics Developer Support and include a small sample project demonstrating the issue so they can check it out.
I am using "NetAdvantage for .NET 2007 Volume 1 CLR 2.0" for window.Kindly give me the link from where i can download the compiled (Include all hot fix, like service pack) hot fixes of my version.Right now, i don't want to convert my application to another volume like 2 or 3.
Thanks in anticipation
Regards,Muhammad Zahid