API/CodeSamples/SaveReportSetNextUrl.md
... ...
@@ -23,13 +23,9 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
23 23
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
24 24
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
25 25
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
26
+ AdHocSettings.SaveReportSetNextUrl = "CustomSave.aspx"; //The relevant setting
26 27
HttpContext.Current.Session["ReportingInitialized"] = true;
27 28
}
28
-
29
- //Add custom settings below
30
- public override void ConfigureSettings() {
31
- AdHocSettings.SaveReportSetNextUrl = "CustomSave.aspx";
32
- }
33 29
}
34 30
```
35 31
... ...
@@ -48,12 +44,8 @@ Public Class CustomAdHocConfig
48 44
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
49 45
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
50 46
Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
47
+ AdHocSettings.SaveReportSetNextUrl = "CustomSave.aspx" 'The relevant setting
51 48
HttpContext.Current.Session("ReportingInitialized") = True
52 49
End Sub
53
-
54
- 'Add custom settings below
55
- Public Overrides Sub ConfigureSettings()
56
- AdHocSettings.SaveReportSetNextUrl = "CustomSave.aspx"
57
- End Sub
58 50
End Class
59 51
```
... ...
\ No newline at end of file