Disable Page Settings in Report Viewer

5 posts, 1 answers
  1. Tom
    Tom avatar
    12 posts
    Member since:
    Jun 2013

    Posted 08 Apr Link to this post

    I am trying to locate a setting that will allow me to prevent the end user from changing the report layout (i.e. from Landscape to Portrait.)

    The software we have sets the page to Landscape prior to sending the report to the report viewer. I now need to prevent the end user from switching the layout to Portrait vis the Page Settings dialog that is available though the Report Viewer.

     

    Any Ideas?

  2. Tom
    Tom avatar
    12 posts
    Member since:
    Jun 2013

    Posted 08 Apr in reply to Tom Link to this post

    Note: This is a WPF Desktop Application.
  3. DevCraft banner
  4. Tom
    Tom avatar
    12 posts
    Member since:
    Jun 2013

    Posted 08 Apr in reply to Tom Link to this post

    Note - This is a WPF Desktop Application.
  5. Answer
    Katia
    Admin
    Katia avatar
    301 posts

    Posted 13 Apr Link to this post

    Hi Tom,

    Our suggestion is to disable the RadButton control that displays Page Setup settings in the original theme. The changes can be made to Telerik.ReportViewer.Wpf.xaml file.

    You can refer to WPF Application/Setting a Theme (Using Implicit Styles) help article for more information related to this topic.


    Regards,
    Katia
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Tom
    Tom avatar
    12 posts
    Member since:
    Jun 2013

    Posted 13 Apr Link to this post

    Thanks! That was exactly what I was looking for.

    I never thought to look at the themes.

Back to Top
DevCraft banner