none
Handle Report Rendering while Preview RRS feed

  • Question

  •  

    Hi!

     

    I am new to Report Viewer Control in Visual Studio 2005. I have .Rdlc  file with 4 pages. It's working fine with Preview Dialog. But in some case I want to remove last two page of my report before it show on Print Preview Dialog. Is there any way to remove them? (without creating new .rdlc file)

     

    I just tried following tag to control the number of pages to be render.

     

    "<DeviceInfo>" +

    " <OutputFormat>PDF</OutputFormat>" +

    " <EndPage>2</EndPage>" +

    "</DeviceInfo>";

     

    I stuck in my project with this problem. Can anyone help on this? Please....

     

     

    Tuesday, October 2, 2007 2:38 PM