I have an Ultragrid with cells that are being used for free form text entry up to 1000 characters. The scroll bars in the cells are turned on. I have an UltragridPrintDocument set up to print the contents of the grid. When the document is printed, only the visible area of the cell prints. Is there a document property that can be set to print the full contents of the cell rather than just the visible area?
Thanks
Roger
What version are you using? It's possible that if you are using an old version that this event was added in a later release.
-Matt
Hi ,
I was just printing my infragistic ultragridview .i was facing some problem in its look.I want to follow the steps as given by u but not able to find the InitializePrint event.It is not in the event list.Plz help.
GP
Matt,
I'll try duplicating what you described in a new application. If I still can't get it to work I'll contact support and send it along. I also haven't applied any Infragistics service packs since I downloaded version 3. I'll check on that as well. I'll let you know what my results are. Thanks for your help.
Roger,
I am assuming that you are using row layouts in this case. Setting up my grid with row layouts, stacking my three columns on top of each other, the code I posted seemed to work fine for me. Are you sure that the RowSizing property of the grid is set to Free or AutoFree when the grid is printing (though admittedly if it's AutoFree, you shouldn't need this code anyway)? If so and this isn't working, it may be worth contacting Developer Support with a sample project so that they can check to see what is going wrong; it's possible a bug has been addressed if you don't have the latest hotfix (or even if you do), so that is also something that they would be able to determine for you.
Get Help
I understand the strategy, but I was unable to get it to work.
In my application, the grid is being used like a windows form. The grid has a single row and the columns are stacked vertically. I enabled autosizing on the grid which works fine on the entry screen when the cell is selected, but performing autosizing on the row during the initialize print doesn't have any effect. I may just have to do a Crystal Report.