Page 1 of 1

Custom Compontent development

Posted: Tue Aug 07, 2018 7:13 pm
by Don Kedero
Hi,

I'm using Stimulsoft for a year now (used it in the past with my previous employer and was very happy about it).
But with any reporting software there are always some thing that won't work. But Stimulsoft is pure .NET so a lot of customization is possible.

Situation
I'm trying to develop a report with dynamic fields which a user can add in a webapplication.
Next I want to print this report (and render those fields)
I call those fields "FreeFields", they can consist of (Yes/No, Numeric, Emoji, Text, ...)

Example: Student-record (+ some FreeFields about their grades)

HTML-report
I'm using HTML + CSS for several years now to render these reports ... besides everything it works pretty fine. But I want to migratie this application to Stimulsoft because it's easier to maintain (no browser quirks, ..)

Live-sample (with Test-data), because an images makes everything clearer: https://initech.comeros.be/Systeem/Rapp ... cacaf05748

What did I try already? Next steps?
  • Subreports in DataBands ... won't work
  • DataBands with conditions (visible true/false]
Then I came accross the samples on GitHub (https://github.com/stimulsoft/Samples-W ... 0Component). They're pretty usefull, but I'm still missing something ...
I thought about creating a component who can parse the several FreeField types and render them accordingly with the Paint-event

How can I bind "MyCustomComponentWithDataSource" to the DataBand like a StiText does?
With a value I can do a lookup of the data in the DataSource with C# ... but I need the current record/index/position. I tried to inherit from StiText (too make the GetDateBand() work) ... but then Paint doesn't work.
I'm able to draw something in the Paint-event, but I cannot access the current position of the DataSource.

Is this the best approach
Or are there better ways?

Re: Custom Compontent development

Posted: Mon Aug 13, 2018 6:35 am
by Lech Kulikowski
Hello,

We couldn't login in your live demo.

Please send us a sample project which reproduces the issue for analysis on support@stimulsoft.com

Thank you.

Re: Custom Compontent development

Posted: Mon Sep 10, 2018 4:16 pm
by Don Kedero
Sorry for the late reply (took some time to create a clean-sample)

I've updated the URL; this is het HTML-version (not using Stimulsoft): https://initech.comeros.be/Systeem/Rapp ... c987141388

You can download the ZIP file from here http://sandbox.kedero.com/stimulsoft-2018-09-10.zip (44 MByte)

Re: Custom Compontent development

Posted: Thu Sep 13, 2018 12:56 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue.

Thank you.

Re: Custom Compontent development

Posted: Fri Sep 14, 2018 11:07 am
by Don Kedero
Perfect, take your time!
Kind regards.

Re: Custom Compontent development

Posted: Mon Sep 24, 2018 6:32 am
by Lech Kulikowski
Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.

Re: Custom Compontent development

Posted: Sun Oct 07, 2018 4:24 pm
by Don Kedero
Hi,
What is the status of my challenge :)
kind regards.

Re: Custom Compontent development

Posted: Mon Oct 08, 2018 7:24 am
by Lech Kulikowski
Hello,

We are still working on the problem. We will let you know when the solution is available.

Thank you.

Re: Custom Compontent development

Posted: Sat Nov 24, 2018 6:12 pm
by Don Kedero
Hi,
In meanwhile I've experimented with competitor reportsoftware, and I was able to create the report (with custom component) that I wanted.
No need to investigate this further.

Kind regards.

Re: Custom Compontent development

Posted: Mon Nov 26, 2018 1:36 pm
by Lech Kulikowski
Hello

Ok.
Please let us know if you need any additional help.

Thank you.