API/CodeSamples/AllowGroupWithoutSelect.md
... ...
@@ -26,7 +26,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
26 26
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
27 27
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
28 28
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
29
- AdHocSettings.ShowDataWhenParametersBlank = true;
29
+ AdHocSettings.AllowGroupWithoutSelect = true; //the relevant setting
30 30
HttpContext.Current.Session["ReportingInitialized"] = true;
31 31
}
32 32
}
... ...
@@ -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.ShowDataWhenParametersBlank = true
51
+ AdHocSettings.AllowGroupWithoutSelect = true 'The relevant setting
52 52
HttpContext.Current.Session("ReportingInitialized") = True
53 53
End Sub
54 54
End Class