4fe1c44b5d614a9bb0b4fce60e8b4c440c27f342
Guides/LayeredSubtotaling.md
| ... | ... | @@ -16,7 +16,7 @@ In this example, the data would be aggregated based on [ShipCountry] normally. T |
| 16 | 16 | |
| 17 | 17 | Here is a sample global.asax to implement layered subtotaling in your own application. This example behavior modifies the "Line Delimited With Labels" option in the Style tab of the Report Designer. However, you can customize which of the visual grouping styles this behavior modifies, if any, by modifying the following line: |
| 18 | 18 | |
| 19 | -``` |
|
| 19 | +```csharp |
|
| 20 | 20 | isTargetVGStyle = AdHocContext.CurrentReportSet.VisualGroupStyle == VisualGroupStyle.LineDelimitedWithLabels; |
| 21 | 21 | ``` |
| 22 | 22 |