Hello Telerik,
I'm following the demo titled "GridView Printing Paged Data" and I got some problem selecting a print range... since my view can have a lot of items I wish to let the user select a range...
Here's my PrintPreview method
It shows me only Print alla pages...what am I doing wrong?
Thanks
Paolo
I'm following the demo titled "GridView Printing Paged Data" and I got some problem selecting a print range... since my view can have a lot of items I wish to let the user select a range...
Here's my PrintPreview method
public static void PrintPreview(GridViewDataControl source) { Window window = new Window(); window.Title = "Print Preview"; DocumentViewer documentViewer = new DocumentViewer(); PrintDialog printDialog = new PrintDialog(); printDialog.PageRangeSelection = PageRangeSelection.UserPages; printDialog.UserPageRangeEnabled = true; printDialog.MaxPage = 40; documentViewer.Document = ToFixedDocument(ToPrintFriendlyGrid(source), printDialog); window.Content = documentViewer; window.ShowDialog(); }It shows me only Print alla pages...what am I doing wrong?
Thanks
Paolo