Hi,
I am new to Stimulsoft and i want to know how to generate the table of contents for multipage report. I have been using both GetAnchorPageNumber and AddAnchor functions but always return zero.
Thanks
Leo
TOC
TOC
- Attachments
-
- toc_test.mrt
- (3.29 KiB) Downloaded 233 times
Re: TOC
Hello.
You are trying to use the .Net methods.
This feature is working on Reports.PHP but a little different way.
The addAnchor() method should be used on the Rendering event of a band and you should call it
Thank you.
You are trying to use the .Net methods.
This feature is working on Reports.PHP but a little different way.
The addAnchor() method should be used on the Rendering event of a band and you should call it
Please, look at the attached report template.this.addAnchor("Page2");
Thank you.
- Attachments
-
- toc_test_ (1).mrt
- (3.68 KiB) Downloaded 242 times
Re: TOC
Hi,
Is there a way to use AddAnchor without Databand? Sometimes we may have a static content without any data from database.
Thanks
Leo
Is there a way to use AddAnchor without Databand? Sometimes we may have a static content without any data from database.
Thanks
Leo
-
- Posts: 6336
- Joined: Tue Mar 20, 2018 5:34 am
Re: TOC
Hello,
Yes, you can add the code for the necessary component.
Thank you.
Yes, you can add the code for the necessary component.
Thank you.