834d85d72b726f1a3734d79f62ace1dce8bd0270
API/CodeSamples/ApplicationHeaderImageUrl.md
| ... | ... | @@ -18,12 +18,9 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 18 | 18 | //Creates a connection to Microsoft SQL Server |
| 19 | 19 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 20 | 20 | AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 21 | + AdHocSettings.ApplicationHeaderImageUrl = "http://www.yoursite.com/yourheaderimage.png"; //The relevant setting |
|
| 21 | 22 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 22 | 23 | } |
| 23 | - |
|
| 24 | - public override void ConfigureSettings() { |
|
| 25 | - AdHocSettings.ApplicationHeaderImageUrl = "http://www.yoursite.com/yourheaderimage.png"; |
|
| 26 | - } |
|
| 27 | 24 | } |
| 28 | 25 | ``` |
| 29 | 26 | |
| ... | ... | @@ -43,11 +40,8 @@ Public Class CustomAdHocConfig |
| 43 | 40 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 44 | 41 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 45 | 42 | AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 43 | + AdHocSettings.ApplicationHeaderImageUrl = "http://www.yoursite.com/yourheaderimage.png" 'The relevant setting |
|
| 46 | 44 | HttpContext.Current.Session("ReortingInitialized") = True |
| 47 | 45 | End Sub |
| 48 | - |
|
| 49 | - Public Overrides Sub ConfigureSettings() |
|
| 50 | - AdHocSettings.ApplicationHeaderImageUrl = "http://www.yoursite.com/yourheaderimage.png" |
|
| 51 | - End Sub |
|
| 52 | 46 | End Class |
| 53 | 47 | ``` |
| ... | ... | \ No newline at end of file |