e32d35cbe94015e4bba009340dde9c0467907444
FAQ/Formatting/How-do-I-hide-Output-Types.md
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | +#How do I hide Output Types? |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##Hiding Output Types |
|
| 6 | + |
|
| 7 | +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(). |
|
| 8 | + |
|
| 9 | +```csharp |
|
| 10 | +AdHocSettings.OutputTypes["xxx"].Hidden=true; |
|
| 11 | +``` |
|
| 12 | + |
|
| 13 | +###Example |
|
| 14 | + |
|
| 15 | +In order to hide OpenOffice from the export types in the ReportViewer you would add: |
|
| 16 | + |
|
| 17 | +```csharp |
|
| 18 | + AdHocSettings.OutputTypes["ODT"].Hidden=true; |
|
| 19 | +``` |
|
| 20 | + |
|
| 21 | +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 |
FAQ/How-do-I-hide-Output-Types.md
| ... | ... | @@ -1,21 +0,0 @@ |
| 1 | -#How do I hide Output Types? |
|
| 2 | - |
|
| 3 | -[[_TOC_]] |
|
| 4 | - |
|
| 5 | -##Hiding Output Types |
|
| 6 | - |
|
| 7 | -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(). |
|
| 8 | - |
|
| 9 | -```csharp |
|
| 10 | -AdHocSettings.OutputTypes["xxx"].Hidden=true; |
|
| 11 | -``` |
|
| 12 | - |
|
| 13 | -###Example |
|
| 14 | - |
|
| 15 | -In order to hide OpenOffice from the export types in the ReportViewer you would add: |
|
| 16 | - |
|
| 17 | -```csharp |
|
| 18 | - AdHocSettings.OutputTypes["ODT"].Hidden=true; |
|
| 19 | -``` |
|
| 20 | - |
|
| 21 | -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 |