API/CodeSamples/ReportViewerDefaultPreviewResults.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.ReportHeaderImageUrl = "www.yoursite.com/reporting/resources/company_logo.png";
24
+ AdHocSettings.ReportViewerDefaultPreviewResults = -1; // This could be any integer. -1 means to display 'all'
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.ReportHeaderImageUrl = "www.yoursite.com/reporting/resources/company_logo.png"
45
+ AdHocSettings.ReportViewerDefaultPreviewResults = -1 'This could be any integer. -1 means to display 'all'
46 46
HttpContext.Current.Session("ReportingInitialized") = True
47 47
End Sub
48 48
End Class