Page 1 of 1
How to remove a text cmpletely from my report.
Posted: Thu Mar 29, 2012 6:46 am
by Zarif
Hi ,
I have a Text control in my report and i want to hide/show this text dynamically in my code, and i am able to do that. But the problem is that its reserved hieght is still appearing. So how can i hide it, and hide its height also so that the other controls will not be separated by its height ?
Thanks.
Mohamad Zarif.
Netiks.
How to remove a text cmpletely from my report.
Posted: Thu Mar 29, 2012 6:52 am
by Stephan1
Zarif wrote:Hi ,
I have a Text control in my report and i want to hide/show this text dynamically in my code, and i am able to do that. But the problem is that its reserved hieght is still appearing. So how can i hide it, and hide its height also so that the other controls will not be separated by its height ?
Thanks.
Mohamad Zarif.
Netiks.
Hi,
if you have the textcontrol inside a databand or other band, you can set the property "can shrink" to true.
Also set the enabled property to false (like text1.enabled = false)
thx
How to remove a text cmpletely from my report.
Posted: Sat Mar 31, 2012 3:27 pm
by Zarif
Stephan1 wrote:Zarif wrote:Hi ,
I have a Text control in my report and i want to hide/show this text dynamically in my code, and i am able to do that. But the problem is that its reserved hieght is still appearing. So how can i hide it, and hide its height also so that the other controls will not be separated by its height ?
Thanks.
Mohamad Zarif.
Netiks.
Hi,
if you have the textcontrol inside a databand or other band, you can set the property "can shrink" to true.
Also set the enabled property to false (like text1.enabled = false)
thx
No the series of texts are all inside one header control. And i need to hide some of them at runtime. Any other suggestion since can shrink is not working ?
How to remove a text cmpletely from my report.
Posted: Mon Apr 02, 2012 7:11 am
by Alex K.
Hello,
Please send us your report with test data which reproduces the issue for analysis.
Thank you.