Search found 7 matches
- Mon Jul 22, 2019 7:42 am
- Forum: Stimulsoft Reports.NET
- Topic: Report built-in assembly
- Replies: 3
- Views: 1327
Re: Report built-in assembly
Ok, where they must be located if added to the list of referenced assemblies? GAC (global assembly cache) only or there are some alternative locations?
- Thu Jul 18, 2019 7:49 am
- Forum: Stimulsoft Reports.NET
- Topic: Report built-in assembly
- Replies: 3
- Views: 1327
Report built-in assembly
Is there any way to embed assemblies into reports (for example, as a resource) and use them from reports?
- Wed Jul 17, 2019 7:31 am
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 12710
Re: Using user context data(from HttpContext) in the custom functions
Hello, You can use the following code: public class MyFunction { private const string Category = "MyFuncCategory"; public static string MyFunc(string value) { return value.ToUpper(); } public static void RegisterFunctions() { var ParamNames = new string[1]; var ParamTypes = new Type[1]; v...
- Tue Jul 16, 2019 12:35 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 12710
Re: Using user context data(from HttpContext) in the custom functions
I need to implement function that must be available from a report and is able to receive a string parameter. Inside it I must have access to current report's object instance variables, get a variable of dictionary type use provided string parameter as an index of value in the dictionary and return t...
- Mon Jul 15, 2019 1:31 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using user context data(from HttpContext) in the custom functions
- Replies: 41
- Views: 12710
Re: Using user context data(from HttpContext) in the custom functions
HighAley, I have copied your code in Visual Studio and it cannot find InitializeComponent method. Am I missing some using statement with reference to some namespace of extension methods?
Or you meant we need to derive StiReport class in every single report as a script?
Or you meant we need to derive StiReport class in every single report as a script?
- Mon Jul 15, 2019 11:51 am
- Forum: Stimulsoft Reports.NET
- Topic: Dictionary parameter of custom function
- Replies: 3
- Views: 1373
Re: Dictionary parameter of custom function
I see from reflection information that the "object" has an underlying type of StiBusinessObject. So what I've done is declare an input parameter of the same type and then a simple cast of parameter's BusinessObjectValue property: Was (dictionary displayed as "object" in designer)...
- Fri Jul 12, 2019 11:43 am
- Forum: Stimulsoft Reports.NET
- Topic: Dictionary parameter of custom function
- Replies: 3
- Views: 1373
Dictionary parameter of custom function
Hello. Where I can find a list of supported data types in reports. Currently I am trying to create a custom function with a dictionary argument (.net core, dictionary<string, string>) but in designer it appears with parameter type object instead of dictionary<string, string>. Could you please provid...