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

Set content height

8 Answers 175 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Anton Samarin
Top achievements
Rank 1
Anton Samarin asked on 12 Sep 2008, 01:49 PM
How set content height in RadPanelBarItem 100%? That after item closed, content stretch at the height of the window!
I want get design like Outlook panel.

Thanks.

PS: Sorry for my English )

8 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 15 Sep 2008, 12:11 PM
Hello Anton,

Currently RadPanelBar does not support a "full height" mode for its items. This feature will be implemented in one of our next releases.

However, there is a possible workaround that you can use to achieve the "Outlook" behavior you describe even with the current version of RadPanelBar. I created a sample project for you in which you can see a possible solution for your problem. The demo application is attached to this post.

Let me know if you have any further questions.

Sincerely yours,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anton Samarin
Top achievements
Rank 1
answered on 16 Sep 2008, 10:45 AM
Hello, Valeri.
I have another trouble. I've put RadTreeView into RadPanelBarItem. RadTreeView  have default animation on MouseOver, this animation brushes only treeView, rest part of RadPanelBarItem not brushed.
I see two way to solve this problem:
1. Turn off animation into RadTreeView.( Can't override default animation)
2. Turn on animation on RadPanelBarItem. ( Can't add animation for Background)

Could you help me?

0
Anton Samarin
Top achievements
Rank 1
answered on 17 Sep 2008, 05:23 AM
Sorry for my mistake, this animation effect create RadPanelBarItem(in my opinion on event MouseOver). This effect extend on only  filled content (not on all height)!
How turn off it?
0
Anton Samarin
Top achievements
Rank 1
answered on 17 Sep 2008, 09:37 AM
I have more question.
I have into UserControl RadPanelBar and RadPanelBarItem with name "myItem".

protected override void OnInitialized(EventArgs e) 
        { 
            base.OnInitialized(e); 
            myItem.IsExpanded = true
        } 

get error: "Object reference not set to an instance of an object."

If i add this atribute into xaml have error too!

Thanks.

Sorry, i determine this problem.
private void myItem_Loaded(object sender, RoutedEventArgs e) 
        { 
            myItem.IsExpanded = true
        } 

0
Anton Samarin
Top achievements
Rank 1
answered on 17 Sep 2008, 10:07 AM
In your project if you expanded some item, and resize window you get my first problem again (if you set smaller size you get scroll).
0
Valentin.Stoychev
Telerik team
answered on 08 Oct 2008, 10:40 AM
Hi Anton Samarin,

sorry for the dealyed answer. We will fix this issue with the next release of RadPanelBar - with our Q3 release at the begining of November. Please let us know if you have any other problems.

Greetings,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Anton Samarin
Top achievements
Rank 1
answered on 25 Dec 2008, 05:03 AM
Hello. 
Could you say resoved my problem in Q3SP1 version or not?

Thanks.
0
Konstantin Petkov
Telerik team
answered on 26 Dec 2008, 09:02 AM
Hi Anton,

Do you refer the issue when you resize the browser and get the scroll bar on the right? Unfortunately it looks like the problem is still observable with the latest version. I will pass it to our developers for further investigation.

Please excuse us for any inconvenience this has caused and let us know if there is anything else we could help with.

Best wishes,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
PanelBar
Asked by
Anton Samarin
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Anton Samarin
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Konstantin Petkov
Telerik team
Share this question
or