How-do-I-hide-Output-Types.md
... ...
@@ -0,0 +1,17 @@
1
+#How do I hide Output Types?
2
+
3
+In order the hide the output types THAT are located in the ReportViewer, you would need to add the below line of code in your ConfigureSettings().
4
+
5
+```csharp
6
+AdHocSettings.OutputTypes["xxx"].Hidden=true;
7
+```
8
+
9
+Example:
10
+
11
+In order to hide OpenOffice from the export types in the ReportViewer you would add:
12
+
13
+```csharp
14
+ AdHocSettings.OutputTypes["ODT"].Hidden=true;
15
+```
16
+
17
+Other formats that are also available to be hidden are sql, pdf, csv, bulkcsv, xls, doc, xml and rtf.
... ...
\ No newline at end of file