adjusting bands without moving other band to next page.

Stimulsoft Reports.WEB discussion
Post Reply
shivkrsingh
Posts: 24
Joined: Wed Dec 04, 2013 8:52 am

adjusting bands without moving other band to next page.

Post by shivkrsingh »

hi,

I have two data band in which I'm using relation and cross databand. when I add one row to index_info in xml data comes correctly otherwise it moves down to new page. I do not want to move matter to next page. It should break. what should I need to do to stop moving band to next page. I have attached my xml and report. pls have look.
Attachments
shiv.rar
(9.73 KiB) Downloaded 184 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: adjusting bands without moving other band to next page.

Post by HighAley »

Hello.

We have found solution for your issue.
You should use next code in the Get tag event of each Cross-Header and Cross-Data component to enable Can Break property:

Code: Select all

(sender as StiContainer).CanBreak = true;
Look at the modified report template.
shivReport_modified.mrt
(39.62 KiB) Downloaded 210 times
Thank you.
Post Reply