Continuing Group Header

Stimulsoft Reports.NET discussion
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Continuing Group Header

Post by Edward »

Please add a GroupFooterBand after the DataBand and set the Height of this to zero if you not need them in report.
Adding script to events of the report's objects is available in the Property editor. Please press the button with yellow lightning symbol on it in the Property Editor's upper panel. You will see the Events instead of properties panel in Property Editor. Here you can write the script for events.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Continuing Group Header

Post by satisht »

I have done same changes as you have suggested. I have added the text to group header with property 'enabled=false' then added "Text15.Enabled=True" souce code to the before print event of the Databand then I have aslo added group footer with 0 height and added souce code the before print event that "Text.15.Enabled=False"
Then I have got following error message
"name 'True' does not exitsts in current context and name False does not exist in current context."
How should i resolve this?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Continuing Group Header

Post by Edward »

It seems that the language of your report is set to C#.
In that case you should modify the script as following:

Code: Select all

Text15.Enabled=true;

Text15.Enabled=false;
The language of the report you can set under File - Report Setup menu item in Designer. Please do this before adding any script to report because the language will be changed only for the automatically generated code. The user's code becomes unchanged.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Continuing Group Header

Post by satisht »

It works but How should I manage the space between tow text boxes?
Means how should I change the locatation of 2nd Text box as per the first text box
I want the text like
abc continued..

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

Continuing Group Header

Post by Edward »

Please use the dock property for both components.

Thank you.
Post Reply