Tag property for page

Stimulsoft Reports.NET discussion
Post Reply
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Tag property for page

Post by ngaheer »

I m designing a report and trying to set the Tag property of the report(page) and saved it.
when i reopen the report i find that there is no tag property saved on the page.
Kindly suggest.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Tag property for page

Post by Vital »

Please use one of the latest build (9 May).

Thank you.
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Tag property for page

Post by ngaheer »

I just downloaded the release 9th may DLLs' and tag property can be set over a page. its working.
But still there are few more things to be sorted over.

in my application i m inheriting a master.mrt for header on each page of my report. In the design time, when i try to set page tag value, it again does not save it. but if i apply this tag value to actual Master.mrt and then at design time, when this master.mrt is inherited as header of my Report, at this time tag value of my inherited report is the tag value of master.mrt.

my requirement is to set tag value for the inherited report page(master.mrt)and not master.mrt. Is that a bug or the desired behavior.




Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Tag property for page

Post by Edward »

If you need to modify the Tag of the descendant report for the Header band, which exists in the parent report then please do this via script. You can set this value in the BeginRender event of the descendant Report.

Thank you.
ngaheer
Posts: 44
Joined: Sat Jul 22, 2006 1:12 am
Location: San Jose

Tag property for page

Post by ngaheer »

Can u please tell us that, do we need to add this code at design or run time. Pls send me a sample code, so that i can just complete this feature.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Tag property for page

Post by Edward »

ngaheer wrote:Can u please tell us that, do we need to add this code at design or run time.
It is better to do in the design time, when the inherited (child) report is created from the parent. Please do all modifications of the objects from the parent report in the Report.BeginReport event handler.

Code: Select all

HeaderDataBand.TagValue = 10
Thank you.
Post Reply