761e2be6dfd89773c20f2e16439ff6ac4065082f
FAQ/Questions/How-To-Preset-Values-In-Filter.md
| ... | ... | @@ -78,6 +78,8 @@ End Sub |
| 78 | 78 | |
| 79 | 79 |  |
| 80 | 80 | |
| 81 | +***Note: The filter is displayed here for demonstration purposes. In this scenario, the filter would be hidden from user input*** |
|
| 82 | + |
|
| 81 | 83 | ##Example: Allowing the user to modify the filter value |
| 82 | 84 | |
| 83 | 85 | The above example does not allow the user to change the filter value as the filter is hidden. In order to allow a preset value that responds to user input, a different approach is required. First, we have to know when the report is first being accessed by a user. This can be tricky since Izenda does not track when a report is first being accessed versus subsequent requests to render the report with different filter values. Since the CustomAdHocConfig usually exists in the global.asax, checking if the request is a postback is not possible, so we have to use some other method. For the following example, imagine we have a report with the following: |