Is this a known problem or am I missing something?
I am using infragistic 12.2.
ultragrid datasource comes from entity.
when i use ultragrid.PrintPreview(), application Hangs
when i use ultragrid.Print, application Hangs
when i use UltraGridPrintDocument with .Print(), application Hang
Please Help.
What version of the grid are you using? Do you have the latest Hot Fix?
There were a few known issues that might cause the printing to hang if you have a single row that is taller than a printer page or some other unusual situation like that. But these issues were all fixed years ago as far as I know, so they would only occur if you are using a really old version of the control.
Is your data source recursive?
If it has worked in previous versions, then it seems like this is a bug. You should submit an incident to Developer Support.
-Matt
I have tried to run it on different machines, all having properly configured default printers, but none of them managed to get the grid actually printed.
Are you passing in a PrintDocument to the method? Are you sure that the printer that you have the grid set to print to is actually available and responds in other applications? All of the code that you posted is basically appearance-related, so I'm not really sure how that would cause the appliation to hang. It seems like it's waiting on a response from the printer and/or driver.