Hi all,
I wish to do a hide a panel and this panel and its children is not painted and would not calculated in the layout.
But when i try to set it as below:-
pnlPlanPwd.RootElement.Visibility = Telerik.WinControls.
ElementVisibility.Collapsed;
the panel is still displayed on the form.
Does anyone knows on any solution?
Regards,
Jack
4 Answers, 1 is accepted
0
Hello Jack,
Thank you for writing. Please set the Visible property to false. This is a property of any Control.
Write again if you need further assistance.
All the best,
Victor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for writing. Please set the Visible property to false. This is a property of any Control.
Write again if you need further assistance.
All the best,
Victor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Jack
Top achievements
Rank 1
answered on 18 Dec 2009, 03:27 PM
Hi Victor,
i got 2 panels top and bottom. I wanted the effect when top panel is visible false, the bottom panel will be pushed up.
Because for radbuttons in radRibbonBar, when
So i am wondering whether the bottom panel can be pushed up accordingly.
Regards,
Jack
i got 2 panels top and bottom. I wanted the effect when top panel is visible false, the bottom panel will be pushed up.
Because for radbuttons in radRibbonBar, when
Telerik.WinControls.ElementVisibility.Collapsed;
are set, those visible radbuttons are pushed to the left accordingly.So i am wondering whether the bottom panel can be pushed up accordingly.
Regards,
Jack
0
Hello Jack,
Your both panels need to be docked to Top (for example) and you simply need to toggle the Visible property of the first panel. When you set it to false, it will disappear and the bottom panel will be shifted up. Please write again if you have other questions.
All the best,
Victor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Your both panels need to be docked to Top (for example) and you simply need to toggle the Visible property of the first panel. When you set it to false, it will disappear and the bottom panel will be shifted up. Please write again if you have other questions.
All the best,
Victor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Jack
Top achievements
Rank 1
answered on 22 Dec 2009, 07:14 AM
Thanks Victor,
It works well.
Regards,
Jack
It works well.
Regards,
Jack