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

how to fix the position of picturebox or textbox when upper controls hiddren or side controls hiddren

8 Answers 1432 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sridhar Bolisetti
Top achievements
Rank 1
Sridhar Bolisetti asked on 22 Feb 2012, 03:17 PM
Hi,
I have report which has conditional formatting based on clientId. if the clientid is some x, I need to hide some controls. But when I hide these controls, right side controls are moving to left and bottom controls moving to top. How can I fix control's position with out considering other controls visibility. Please help on this.

8 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Feb 2012, 03:20 PM
Hello Sridhar,

Place the report items that you would like to hide in a Panel item. This way when you hide the item inside the panel, the occupied space would remain. For more information refer to Design Considerations for Report Item Layout help article.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Sridhar Bolisetti
Top achievements
Rank 1
answered on 22 Feb 2012, 03:42 PM
 Thanks Steve,

But already placed all the controls in panel by looking at design considerations article last time. But tit does not working. I used anchors also. Finally I put empty text in the text box.

FYI. I used panel and controls in group header. The same header renders for each client.


For picturebox, I can not put any empty value. So it is giving issue.
0
Steve
Telerik team
answered on 22 Feb 2012, 03:44 PM
Hello Sridhar,

You should not place all controls in a single panel, rather you should place the items you plan to hide in separate panels and continue hiding the items (not the panels).

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Sridhar Bolisetti
Top achievements
Rank 1
answered on 22 Feb 2012, 03:46 PM
Thanks, I will try and let u know.
0
Sridhar Bolisetti
Top achievements
Rank 1
answered on 22 Feb 2012, 03:52 PM
Steve,

Are group sections fixed. I mean if I place controls in group headers, its position is constant? or changes? Design positions and exported pdf's positions are not matching. pdf's positions are moving down a little.
0
IvanY
Telerik team
answered on 27 Feb 2012, 02:11 PM
Hi Sridhar,

The items placed in the header have a constant position in the header, but relative position in the report itself. Please have in mind that depending on the rendering media the group headers can have different positions throughout the report - for example the PDF paging may force the group to start the at the next page, therefore moving the whole group down a little.

Other than that it will be best if you provide us with more information about your current issue, which will help us advise you accordingly. It will be best if you provide us with a runnable sample that exhibits the problem so that we could reproduce it at our end.

Kind regards,
IvanY
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Sridhar Bolisetti
Top achievements
Rank 1
answered on 27 Feb 2012, 02:25 PM
Thanks IvanY,

Our requirement is to print the certificates on pre printed papers. So everything must be in fixed position.
0
Steve
Telerik team
answered on 27 Feb 2012, 02:29 PM
Hi Sridhar,

In such case you should test and make sure your report is rendered correctly in the format used for printing. For example for printing from the web report viewer, you should make sure the report items position is correct in PDF format.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Sridhar Bolisetti
Top achievements
Rank 1
Answers by
Steve
Telerik team
Sridhar Bolisetti
Top achievements
Rank 1
IvanY
Telerik team
Share this question
or