Page 1 of 2

create list of contents with Anchors

Posted: Tue Sep 03, 2013 1:41 pm
by andreb
Hi,

I would like to create a contents list at the beginning of a report.

When I study your (online) demo 'Interactive Reports'->'Anchors' I can understand the mechanism with GetAnchorPageNumber etcetera.
But I cannot find the property 'ProcessAtEnd' of the text component which needs to be set (according your manual) :?
Where can I find it?

By the way, your demo doesn't show pagenumbers in the contents list either.

Thank you for your help.

André

Re: create list of contents with Anchors

Posted: Thu Sep 05, 2013 8:27 am
by HighAley
Hello, André.

We are working on your issue.
We will let you know when your issue will be fixed.

Thank you.

Re: create list of contents with Anchors

Posted: Fri Nov 08, 2013 2:06 pm
by Andrew
Hello,

The issue is fixed.
The patch will be available in the next prerelease build.

Thank you.

Re: create list of contents with Anchors

Posted: Tue Oct 28, 2014 7:30 am
by andreb
Hi guys,

I'm working on this subject again.
Great that you handled the issue. I can see in your demo that anchors functionality works. It looks very good.

But I'm still puzzled how to do do it myself.

I have a text component with the {GetAnchorPageNumber(sender.TagValue)}.
The hyperlink of that component is set to #{myreference} and the Tag property to {myreference}.
However, when I render the report the page number stays 0.

According the manual I should somewhere ' ...Set the RenderingEvent to {AddAnchor (myreference});}... ;
I guess that is what i'm missing. But where and how can I do that?

Regards,

Andre

Re: create list of contents with Anchors

Posted: Tue Oct 28, 2014 12:13 pm
by HighAley
Hello.

Please, read step-by-step instruction in the Stimulsoft User Manual.

Thank you.

Re: create list of contents with Anchors

Posted: Wed Oct 29, 2014 8:45 am
by andreb
Hello Aleksey,

Yes, I tried the steps.
But I fail at step 19.2:

19.2. Subscribe to the event. Set the RenderingEvent to {AddAnchor (Products.ProductName);};

The property page does not show any possibility for writing event code. See attachment.
I understand that reports fx does not support events, but I see that your demo works. So how did you get the event working? :roll:

Re: create list of contents with Anchors

Posted: Thu Oct 30, 2014 9:16 am
by HighAley
Hello.

You can miss the step 19.2.
Could you specify which version do you use?
This feature is available in our latest major release 2014.2.

Thank you.

Re: create list of contents with Anchors

Posted: Tue Nov 04, 2014 8:45 am
by andreb
Hello Aleksey,

I use the latest version 2014.2

I also tried to add pagenumbers for the categories of your original demo Anchors.mrt
This file has been attached.
As you can see, the pagenumbers for products still work fine. But the pagenumbers for categories stay 0.
Am I forgetting something :? ?

Regards, André

Re: create list of contents with Anchors

Posted: Wed Nov 05, 2014 9:44 am
by Alex K.
Hello,

Please check the modified report in the attachment.

Thank you.

Re: create list of contents with Anchors

Posted: Thu Nov 06, 2014 1:12 pm
by andreb
Thank you Aleksey, your report works.

But what did you modify? I went through all the components, but I can't find a difference between your report and the report that I have sent.

Regards, André