a3a89eb5c7be4d7937abf3597b20766772f3af67
API/CodeSamples/DrilldownStyle.md
| ... | ... | @@ -8,8 +8,6 @@ Gets or sets the list of available drill-down report fields formats. |
| 8 | 8 | This affects contents of all "Drill-down style" comboboxes in the ReportDesigner. |
| 9 | 9 | For example, in the Advanced Properties of a field at the Fields tab. |
| 10 | 10 | |
| 11 | -Note: You can find all possible keys by calling AdHocSettings.DrillDownStyle.AllKeys. |
|
| 12 | - |
|
| 13 | 11 | Currently, the valid keys are: |
| 14 | 12 | * DetailLink |
| 15 | 13 | * DetailLinkNewWindow |
| ... | ... | @@ -40,7 +38,9 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 40 | 38 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 41 | 39 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 42 | 40 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 43 | - AdHocSettings.ExportLimit = 100000; //The relevant setting |
|
| 41 | + AdHocSettings.DrillDownStyle = new FormatCollection(); //The relevant setting |
|
| 42 | + AdHocSettings.DrillDownStyle.Add("Detail", new DetailFormat()); //The relevant setting |
|
| 43 | + AdHocSettings.DrillDownStyle.Add("DetailLink", new DetailLinkPopupFormat()); //The relevant setting |
|
| 44 | 44 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 45 | 45 | } |
| 46 | 46 | } |
| ... | ... | @@ -61,7 +61,9 @@ Public Class CustomAdHocConfig |
| 61 | 61 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 62 | 62 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 63 | 63 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 64 | - AdHocSettings.ExportLimit = 100000 'The relevant setting |
|
| 64 | + AdHocSettings.DrillDownStyle = new FormatCollection() 'The relevant setting |
|
| 65 | + AdHocSettings.DrillDownStyle.Add("Detail", new DetailFormat()) 'The relevant setting |
|
| 66 | + AdHocSettings.DrillDownStyle.Add("DetailLink", new DetailLinkPopupFormat()) 'The relevant setting |
|
| 65 | 67 | HttpContext.Current.Session("ReportingInitialized") = True |
| 66 | 68 | End Sub |
| 67 | 69 | End Class |