Click to See Complete Forum and Search --> : Printing Infragistics data grid datas
umashanker
June 4th, 2007, 02:52 AM
I have a Infragisics data grid control in a web page. I want to show its contents alone in a separate page upon clicking a button. Once the new window is shown i want to print the contents of the grid in the deafult printer. How can i do this one.. Anyone please help..
Advance Thanks
Umashanker
tirnaog
July 3rd, 2008, 09:05 AM
Try this: Infragistics version 7.1
With uwGDPtrer
.DocumentName = "Grid Print Test"
.Grid = uwGridRptResults
With .DefaultPageSettings
.Landscape = True
.Margins.Top = 0.005
.Margins.Bottom = 0.005
.Margins.Left = 0.005
.Margins.Right = 0.005
End With
.Print()
End With
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.