5 Answers, 1 is accepted
0
Hello Bob ,
To expand a group programatically you can use the Expanded property of RadPanelBarGroupElement. For example:
this.radPanelBarGroupElement1.Expanded = true;
If you need more information, please write us back.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
To expand a group programatically you can use the Expanded property of RadPanelBarGroupElement. For example:
this.radPanelBarGroupElement1.Expanded = true;
If you need more information, please write us back.
Kind regards,
Boyko Markov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0

Jay Jose
Top achievements
Rank 1
answered on 09 Sep 2009, 02:42 PM
Hi,
I build my panelbar programmatically and I want to expand the groupelement when displayed.
I tried this:
this.radPanelBarGroupElement1.Expanded = true;
but it did not work.
Any more ideas?
Thanks,
Jay
I build my panelbar programmatically and I want to expand the groupelement when displayed.
I tried this:
this.radPanelBarGroupElement1.Expanded = true;
but it did not work.
Any more ideas?
Thanks,
Jay
0

Jay Jose
Top achievements
Rank 1
answered on 09 Sep 2009, 02:46 PM
Hi,
Kindly disregard my previous post, I already got the solution.
grpElement.ShowChildren(true);
grpElement.Expanded = true;
Thanks,
Jay
Kindly disregard my previous post, I already got the solution.
grpElement.ShowChildren(true);
grpElement.Expanded = true;
Thanks,
Jay
0

Bob
Top achievements
Rank 1
answered on 10 Sep 2009, 05:58 AM
Hi Jay
It seems to depend on the Groupstyle property. I resolved my problem by setting
radGroupABC.Selected = true;
I did this after it had been added to the panel bar.
Hope that helps.
Bob Bailey
It seems to depend on the Groupstyle property. I resolved my problem by setting
radGroupABC.Selected = true;
I did this after it had been added to the panel bar.
Hope that helps.
Bob Bailey
0
Hello Bob ,
RadPanelBarGroupElement Expanded property purpose is to expand or collapse the group where the Selected property selects or deselects the group. When the panel bar is in OutlookStyle, you should use the Selected property instead of the Expanded property if you want to make active a particular group element. In all other cases you should use the Expanded property. Another important thing is that you should use these properties when the RadPanelBarGroupElement is part of the elements tree i.e it should be added to the items collection of RadPanelBar.
Best wishes,
Boyko Markov
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.
RadPanelBarGroupElement Expanded property purpose is to expand or collapse the group where the Selected property selects or deselects the group. When the panel bar is in OutlookStyle, you should use the Selected property instead of the Expanded property if you want to make active a particular group element. In all other cases you should use the Expanded property. Another important thing is that you should use these properties when the RadPanelBarGroupElement is part of the elements tree i.e it should be added to the items collection of RadPanelBar.
Best wishes,
Boyko Markov
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.