Search found 68 matches

by MatthiasU
Thu Jan 25, 2024 10:06 am
Forum: Stimulsoft Reports.NET
Topic: No text on StiText created from code
Replies: 6
Views: 952

Re: No text on StiText created from code

Hello,

Please try this:

1) load the original mrt-file
_rep = new StiReport();
_rep.Load(filename);
2) load compiled report
_rep.CompiledReport = StiReport.GetReportFromAssembly(pathToAssembly);
3) add your components
4) _rep.Render()
5) _rep.Show()
by MatthiasU
Wed Dec 06, 2023 7:46 am
Forum: Stimulsoft Reports.NET
Topic: StiReport Custom function is not working properly
Replies: 11
Views: 5532

Re: StiReport Custom function is not working properly

Hi Matthias, am I able to add the custom Comparer Class into the report and interactively sort it? When clicking in the column header, I'm able to sort it ascendingly and descendingly with my custom sort logic. Or is it only possible for me to run sorting on the column before the report got rendere...
by MatthiasU
Fri Dec 01, 2023 10:08 am
Forum: Stimulsoft Reports.NET
Topic: Get Pointer Event
Replies: 3
Views: 1407

Re: Get Pointer Event

thank you :)
by MatthiasU
Thu Nov 30, 2023 3:45 pm
Forum: Stimulsoft Reports.NET
Topic: Get Pointer Event
Replies: 3
Views: 1407

Get Pointer Event

Hi,

can you please explain me the use case for the new Get Pointer Event?

Many thanks & Regards,
Matthias
by MatthiasU
Thu Nov 30, 2023 9:16 am
Forum: Stimulsoft Reports.NET
Topic: StiReport Custom function is not working properly
Replies: 11
Views: 5532

Re: StiReport Custom function is not working properly

I don't think, you can use a function for sorting this way. Sort picks the current value for each datarow and your function(method) is called for each instance and the results of each instance will be compared. So I would propose to create a custom class/struct containing the numeric and non-numeric...
by MatthiasU
Mon Nov 13, 2023 8:19 am
Forum: Stimulsoft Reports.NET
Topic: Elements not visible after moving to new page
Replies: 5
Views: 4605

Re: Elements not visible after moving to new page

You have copied only child bands, but there is no parent band on your new page. This won't work.
by MatthiasU
Thu Nov 02, 2023 7:33 am
Forum: Stimulsoft Reports.NET
Topic: Create new report for every row
Replies: 3
Views: 3232

Re: Create new report for every row

Hi,

you can use Subreports (place a subreport in a databand over your datasource, with property new page before).
by MatthiasU
Wed Nov 11, 2020 7:00 am
Forum: Stimulsoft Reports.NET
Topic: Component Styles for change an image
Replies: 4
Views: 1349

Re: Component Styles for change an image

Hi, yes, this should be possible. But maybe you have to call ApplyStyles() method of reports after loading the style sheet. Or you have to call the SetStyleToComponent(StiComponent comp) method of the style. Please try. But be aware of the image size limitation when you use images in styles (maximum...
by MatthiasU
Wed Jun 05, 2019 7:53 am
Forum: Stimulsoft Reports.NET
Topic: Long to int
Replies: 7
Views: 2278

Re: Long to int

Or just call method GetActualSize() of the text element (returns SizeD). Ensure that correct text has been set before (this method does not trigger any event of the text box!).