Is this a known problem or am I missing something?
I have figures out the problem,it was nothing to do with infragistic. its because of the [showdialog] property of windows which was some how not allowing the process to return back from printing code. not sure why but after changing [showdialog] to [show] it worked perfectly.
Thaks any way
Hi,
If you can post a small sample project demonstrating the issue, I'd be happy to take a look. But without a sample, I'm afraid there's not much I can do.
Are you able to print anything else? Perhaps this is a problem with the default printer or the driver on your machine.
Is your data source recursive? Try setting grid.MaxBandDepth to something like 5 just as a test and see if that helps.
Also, make sure you have the latest service release in case this is a bug that was already fixed.
How to get the latest service release - Infragistics Community
at the time of hang when i press Ctr + Break it break at
Me.grdList.Print()
Form code is as following:
Public Class frmSearch Public Sub New() InitializeComponent() End Sub Private Sub frmSearch_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim CONTEXT As New RWFEntities Me.grdList.DataSource = From q In CONTEXT.V_CustomerData Select q End Sub Private Sub btnPrint_Click(sender As Object, e As EventArgs) Handles btnPrint.Click Me.grdList.Print() End Sub Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click Me.Close() End Sub End Class
PLEASE HELP
Even I have the same problem,
I used ultragrid.PrintPreview()
or
ultragrid.Print()
ultragridprintpreview
In all cases its printing but the application hangs.
I am using Infragistic 12.2,vb.net FW 4.0
databining is as following
ultragrid.DataSource = From q In CONTEXT.VIEWNAME Select q
Same code is working perfect in old projects with same version
Please Help
Are you able to use Ctrl+Break to stop execution during the hang? If so, where does it break?
Can you post small sample project demonstrating the hang? I'm afraid I can't begin to guess why it's hanging without being able to see and Debug the problem.