249bb7ade4b82cbb2775d030780e412a5890be84
API/CodeSamples/ShowJoinDropDown.md
| ... | ... | @@ -22,13 +22,9 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 22 | 22 | //Creates a connection to Microsoft SQL Server |
| 23 | 23 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 24 | 24 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 25 | + AdHocSettings.ShowJoinDropDown = true; //the relevant setting |
|
| 25 | 26 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 26 | 27 | } |
| 27 | - |
|
| 28 | - //Add custom settings below |
|
| 29 | - public override void ConfigureSettings() { |
|
| 30 | - AdHocSettings.ShowJoinDropDown = true; |
|
| 31 | - } |
|
| 32 | 28 | } |
| 33 | 29 | ``` |
| 34 | 30 | |
| ... | ... | @@ -49,13 +45,9 @@ Public Class CustomAdHocConfig |
| 49 | 45 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 50 | 46 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 51 | 47 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 48 | + AdHocSettings.ShowJoinDropDown = True 'The relevant setting |
|
| 52 | 49 | HttpContext.Current.Session("ReportingInitialized") = True |
| 53 | 50 | End Sub |
| 54 | - |
|
| 55 | - 'Add custom settings below |
|
| 56 | - Public Overrides Sub ConfigureSettings() |
|
| 57 | - AdHocSettings.ShowJoinDropDown = True |
|
| 58 | - End Sub |
|
| 59 | 51 | End Class |
| 60 | 52 | ``` |
| 61 | 53 |