API/CodeSamples/AllowAutomaticSubreport.md
... ...
@@ -21,7 +21,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
21 21
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
22 22
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
23 23
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
24
- AdHocSettings.AllowAutomaticSubreport= false; //The relevant setting
24
+ AdHocSettings.AllowAutomaticSubreport = false; //The relevant setting
25 25
HttpContext.Current.Session["ReportingInitialized"] = true;
26 26
}
27 27
}
... ...
@@ -42,7 +42,7 @@ Public Class CustomAdHocConfig
42 42
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
43 43
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
44 44
Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
45
- AdHocSettings.AllowAutomaticSubreport= false 'The relevant setting
45
+ AdHocSettings.AllowAutomaticSubreport = false 'The relevant setting
46 46
HttpContext.Current.Session("ReportingInitialized") = True
47 47
End Sub
48 48
End Class