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

Control position changes on setting Visible=False in conditional formatting

2 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nitin
Top achievements
Rank 1
Nitin asked on 28 Mar 2011, 08:35 PM
Hi,

I have applied conditional formatting to controls. On a specific condition I am setting Visible=False for a textbox1. When this condition is true textbox1 gets invisible, but the textbox2 which is positioned just after textbox1 is shifted to left and takes the position of textbox1.

I gone through following link and found that this problem was in 2009 Q3 release. Is it still persist? I am using version 5.0.11.316 of Telerik Reporting.

Please suggest me some solution.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 31 Mar 2011, 01:24 PM
Hello Nitin,

This behavior is by design. If you need to persist the layout when you hide items, you should nest them in a Panel item and continue hiding the TextBox.

Kind regards,
Steve
the Telerik team
0
YARARMAN
Top achievements
Rank 1
answered on 13 Dec 2012, 12:26 PM
I'm using below code.
I suggest, It's useful according to me.

_TextBox.Value = String.Empty;

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