d6462ee7dae9ab085edd6fd667776a80931065e5
API/CodeSamples/ReportDesigner.md
| ... | ... | @@ -40,7 +40,7 @@ And here is a list of button keys for reference: |
| 40 | 40 | * EMailClientButton |
| 41 | 41 | * AdminButton |
| 42 | 42 | |
| 43 | -Similarly, this could be accomplished by calling the following from global.asax: |
|
| 43 | +Alternately, this could be accomplished by calling the following from global.asax: |
|
| 44 | 44 | |
| 45 | 45 | ```csharp |
| 46 | 46 | string currentReportName = Request.QueryString["rn"]; |
| ... | ... | @@ -50,6 +50,8 @@ Similarly, this could be accomplished by calling the following from global.asax: |
| 50 | 50 | |
| 51 | 51 | This would hide both the **Save** and **Save As...** toolbar buttons and is more reliable, as it does not deal with specific string literals. |
| 52 | 52 | |
| 53 | +See [[this resource|http://wiki.izenda.us/FAQ/Hiding-Buttons-and-Tabs#Report-Designer-Buttons]] for a list of all the settings in the AdHocSettings class you can use to modify the toolbar items. |
|
| 54 | + |
|
| 53 | 55 | ##Override Page Level CSS |
| 54 | 56 | |
| 55 | 57 | Here is a code sample that shows how to override the CSS in the Report Designer page. Essentially, you insert a ``<style> </style>`` tag as shown below after the ``</FORM>`` tag in the page. You can then override the CSS elements. In this example, it also overrides the "Preview" tab CSS for the HTML preview. You can use any web browser's developer tools add-on (usually accessed by pressing F12 on the keyboard or ctrl+click if on a Mac with Safari developer tools enabled) to find what CSS classes you need to override. **Caveat:** this will only override them while in the "ReportDesigner.aspx" page. |