ce5c4d11675c90463f8f511f3070bc48c879f4c8
API/CodeSamples/SettingsKey.md
| ... | ... | @@ -25,7 +25,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 25 | 25 | //Creates a connection to Microsoft SQL Server |
| 26 | 26 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 27 | 27 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 28 | - AdHocSettings.ShowSettingsButton = true; //the relevant setting |
|
| 28 | + AdHocSettings.SettingsKey = "foo"; //the relevant setting |
|
| 29 | 29 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 30 | 30 | } |
| 31 | 31 | } |
| ... | ... | @@ -48,7 +48,7 @@ Public Class CustomAdHocConfig |
| 48 | 48 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 49 | 49 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 50 | 50 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 51 | - AdHocSettings.ShowSettingsButton = True 'The relevant setting |
|
| 51 | + AdHocSettings.SettingKey = "foo" 'The relevant setting |
|
| 52 | 52 | HttpContext.Current.Session("ReportingInitialized") = True |
| 53 | 53 | End Sub |
| 54 | 54 | End Class |