This is a migrated thread and some comments may be shown as answers.

How to stretch an item

3 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yuriy
Top achievements
Rank 1
Yuriy asked on 02 May 2012, 03:30 PM
Hello

I have 2 panels one over the other with 2 texboxes in each.
If the bottom panel exceeds the space left on the current page I need the upper panel stretched its size to the bottom of a page and the bottom one started from the new page.

Could anyone help me please?

Best regards, Yuriy

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 May 2012, 05:42 PM
Hello Yuriy,

There is no logic by which the panel will fill the available space on the first page.
The data processing and the paging are two separate processes, furthermore, each rendering extension has a different paging mechanism, so in short there is no way to accomplish such task.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Yuriy
Top achievements
Rank 1
answered on 04 May 2012, 11:48 AM
Hello Steve,

Thaks for the reply.
But what about starting the second panel from the next page?

I've noticed such behaviour.
If the panel's height is above the empty space on the current page but less than the page height , it starts from the next page.
But if the panel's height is above both the empty space and page height, it doesn't start from the next page but goes on the current one. Keeptogether property is always set to TRUE.

Is it possible somehow to make the panel always start from the next page if it height is above the empty space?

Best regards, Yuriy
0
IvanY
Telerik team
answered on 07 May 2012, 04:46 PM
Hello Yuriy,

Currently Telerik Reporting does not support the functionality to move to the next page the panel if it is larger than the whole page. You should have in mind that the KeepTogether property is designed to try to keep the item whole, on a single page; if the remaining space is not enough Telerik Reporting will try to move it on the next page. However if the item is larger than a whole page it will never be kept together - in this case the KeepTogether property is meaningless and because of that the item will behave like the property was set to false.

What we can advise you is to separate your layout into smaller chunks (using again the Panel) that will always be smaller than a whole page, if that is possible in your scenario.

Greetings,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Yuriy
Top achievements
Rank 1
Answers by
Steve
Telerik team
Yuriy
Top achievements
Rank 1
IvanY
Telerik team
Share this question
or