Page 1 of 1

adjusting bands without moving other band to next page.

Posted: Mon Dec 09, 2013 10:59 am
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.

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

Posted: Wed Dec 11, 2013 8:29 am
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 211 times
Thank you.