Hi, I wan to know, if there is a way, to get a whole UltraWebGrid to be printed, I'm loading one with 150 lines and I'm using window.print() Javascript funtion to get it print, but the result is only one page that is cutted in 56 lines, the rest of the grid is not printed.
Is there a way, any!, to print grids that display a lot of lines, like mine of 150 lines?
Thanks... It works!!!
You are the best support that we can ever have, it seems you have a correct answer for every need.
Now I´m printing the whole grid with just one click, thanks again...
To set up WebGrid to print its entire contents, use the grid's printing friendly functionailty. This is done by setting the grid's DisplayLayout.ReadOnly property to PrintingFriendly (Infragistics.WebUI.UltraWebGrid.ReadOnly.PrintingFriendly).
Note that turning on this functionality makes the grid entirely passive, since it requires disabling its JavaScript functionality. It also removes the ability for the grid to scroll independently of the browser, which is what's cutting off rows on the printout. You'll likely want either a separate page, or an option on your current page enabled with either a button click or a query string, to provide a "printer friendly" view.