Class SumHelperUserFunctions
Helper function to enable total sum in telerik reporting
Inheritance
System.Object
SumHelperUserFunctions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Reporting.Telerik.UserFunction
Assembly: Simplic.Reporting.Telerik.UserFunction.dll
Syntax
public class SumHelperUserFunctions
Methods
| Improve this Doc View SourceResetTotalSum(String, Int32)
Reset total sum
Declaration
public static string ResetTotalSum(string context, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | context | Context to reset the sum of |
System.Int32 | pageNumber | Current page number. Reset will be done if pageNumber equals 1 |
Returns
Type | Description |
---|---|
System.String | Nothing |
SumTotal(String, Int32, Nullable<Double>)
Add the given value to the sum and return it
Declaration
public static double SumTotal(string context, int pageNumber, double? value)
Parameters
Type | Name | Description |
---|---|---|
System.String | context | Context to calculate the sum of |
System.Int32 | pageNumber | Page number |
System.Nullable<System.Double> | value | Value to add to the sum |
Returns
Type | Description |
---|---|
System.Double | Sum of the current context |