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

Programmaticaly Show ContentPanel

5 Answers 120 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.
Ching-Yen
Top achievements
Rank 1
Ching-Yen asked on 06 Mar 2008, 08:24 AM
Hi,

I do have a RadPanelBar in my application. It works great while I click on the "button" below to switch the content. But, may I know how can I control that programmaticaly? Example, when I click on some other button in the application, the RadPanelBar Content will change? (All the items are preloaded, I just need to show the different content from time to time, just like manually clicked on the button @ radPanelBar)

please advice.

5 Answers, 1 is accepted

Sort by
0
Accepted
Boyko Markov
Telerik team
answered on 06 Mar 2008, 09:22 AM
Hi Ching-Yen,

Thank you for contacting me.

You can use the Expanded and Selected properties of RadPanelBarGroupElement to manually expand/collapse or select/unselect a group. However, I still not quite sure what is wrong in the behavior of RadPanelBar. Please send me a sample project which reproduces the erronous behavior. It will help me address any potential issue faster.

I hope this helps. I'm looking forward to your reply.

Sincerely yours,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ching-Yen
Top achievements
Rank 1
answered on 07 Mar 2008, 12:31 AM
Thanks. there is nothing wrong with the radcontrol, i just need extra control on it. thanks !!
0
Boyko Markov
Telerik team
answered on 10 Mar 2008, 08:42 AM
Hi Ching-Yen,

Thank you for the quick reply.

Please do not hesitate to contact me again with any questions regarding RadControls for WinForms. I will be happy to help you.

Sincerely yours,
Boyko Markov
0
Dominic Winterstein
Top achievements
Rank 1
answered on 28 Apr 2010, 03:14 PM
Your Message in the past to somehow:

You can use the Expanded and Selected properties of RadPanelBarGroupElement to manually expand/collapse or select/unselect a group. However, I still not quite sure what is wrong in the behavior of RadPanelBar. Please send me a sample project which reproduces the erronous behavior. It will help me address any potential issue faster.

My Message:

Well,
i have an RadPanelbar on my Page and i wanna select an Item as selected, so that the panelbar will pop up at the right position.

We have the panelbar in Use and at the 3th level is a link on another page, when the user go back, the same level with the same content shall be shown.

I've tried to use "radPanelbar".Expanded, but there is only a ExpandenMode and even Selected is only shown as SelectedItem, this would be no problem when selectedItem would be not an ReadOnly Property.

So how can i now select which Item shall be shown on an page load, if I got the Name or value of the item?

Greetings
D. Winterstein
0
Veselin Vasilev
Telerik team
answered on 30 Apr 2010, 12:17 PM
Hi Dominic Winterstein,

This forum thread is in the RadPanelBar for WinForms control. It seems you are asking for the RadPanelBar for ASP.NET Ajax.

I suggest that you check the Persist State in cookie and Programmatic State Persistence online demos.
RadPanelBarItem class has a property Selected which determines whether the item will be selected.

If you have any additional question on the Ajax controls - please use the appropriate forums.

Thank you for your understanding.

Greetings,
Veskoni
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
Ching-Yen
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Ching-Yen
Top achievements
Rank 1
Dominic Winterstein
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or