Abhilash J A

Abhilash J A

  • 501
  • 2.4k
  • 598.1k

How can I print all contents of Listview from UserControl?

Jan 16 2017 10:05 PM
Hello everyone,
 
I have a listview inside UserControl.
 
I have written print code inside button click. But it is showing just 1st page only, 
  1. PrintDialog prtDlg = new PrintDialog();  
  2. if (prtDlg.ShowDialog() == true)  
  3. {  
  4.     prtDlg.PrintVisual(listView1, "ListView");  
  5. }        
 But I have to print whole data by page wise. Please help me... 

Answers (5)