You can extend the report engine with your own functions, which users then call from expressions in the web designer.

Implement the function. A public static method does the work:
public static string MyFunc(string value)
{
    return value.ToUpper();
}
Register it in the static constructor. Describe its category, types and parameters:
StiFunctions.AddFunction(
    "MyCategory", "MyFunc", "MyFunc", "Description",
    typeof(DesignerController), typeof(string), "Return Description",
    ParamTypes, ParamNames, ParamDescriptions);

How it works. The engine resolves the custom name to your method at render time, so report authors call your code as if it were built in.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

Adding a Custom Function to the Designer

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.