Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
995
Disable Print and Export
posted

Hi

I have read the previous posts which address this issue but i cannot seem to implement.  When i run it i get the error "Object reference not set to an instance of an object."

My code looks like:

Imports Infragistics.Controls.Reports

Public Class GeneralReportViewer
Public Property PrintVisibility As Visibility

Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
Dim instance As ToolBarSettings
Dim value As Visibility

value = Windows.Visibility.Collapsed

instance.PrintVisibility = value

End Sub
End Class

Parents
  • 71886
    Offline posted

    Hello pfechner,

    Could you please let me know what are the posts that you have read? Is it possible for you to provide a small sample project, which reproduces the issue or give me the steps to reproduce it, along with the version of our controls in your project? Also, what is the technology you are using?

    I will be waiting for your feedback.

Reply Children