9e2976cca110347b0ee0e8136d2fafa08d1cf40f
API/CodeSamples/AllowCreateNewCategory.md
| ... | ... | @@ -25,7 +25,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 25 | 25 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 26 | 26 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 27 | 27 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 28 | - AdHocSettings.HeaderStyle = ""; //The relevant setting |
|
| 28 | + AdHocSettings.AllowCreateNewCategory = false; //The relevant setting |
|
| 29 | 29 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 30 | 30 | } |
| 31 | 31 | } |
| ... | ... | @@ -46,7 +46,7 @@ Public Class CustomAdHocConfig |
| 46 | 46 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 47 | 47 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 48 | 48 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 49 | - AdHocSettings.HeaderStyle = "" 'The relevant setting |
|
| 49 | + AdHocSettings.AllowCreateNewCategory = false //The relevant setting |
|
| 50 | 50 | HttpContext.Current.Session("ReportingInitialized") = True |
| 51 | 51 | End Sub |
| 52 | 52 | End Class |