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

How can i turn off autoscroll for child control of RadPanelBar

1 Answer 78 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andreas Mildenberger
Top achievements
Rank 1
Andreas Mildenberger asked on 06 Sep 2010, 01:52 PM
Hello every body,

i want to display full size of an control (Panel) within an RadPanelBar.
I just see a part of it. I have set AutoScroll = false, it turn back to true.

How can i display the whole child control of RadPanelBar without seeing
the scrollbar?

Would you kindly help me? 

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 09 Sep 2010, 12:23 PM
Hello Andreas,

Thank you for your question.

You can enable the scrollbars of e group's ContentPanel holding your controls by setting the AutoScroll property to true:
radPanelBarGroupElement1.ContentPanel.AutoScroll = false;

If you aim is to display the entire content without displaying scrollbars, you need to provide the appropriate size of the RadPanelBar control.

Please note that the RadPanelBar control is obsolete and we highly encourage you to use the RadPageView control instead. It covers the functionality of RadPanelBar when used in Stack View Mode and offers much more features. You can use the RadPageViewPage instead of the RadPanelBarGroupElement and define its scrollbar visibility using:
this.radPageViewPage1.AutoScroll = true;

I hope it helps.

Kind regards,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Andreas Mildenberger
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or