Programmaticaly Show ContentPanel

6 posts, 1 answers
  1. Ching-Yen
    Ching-Yen avatar
    65 posts
    Member since:
    Nov 2007

    Posted 06 Mar 2008 Link to this post

    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.
  2. Answer
    Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 06 Mar 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ching-Yen
    Ching-Yen avatar
    65 posts
    Member since:
    Nov 2007

    Posted 06 Mar 2008 Link to this post

    Thanks. there is nothing wrong with the radcontrol, i just need extra control on it. thanks !!
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 10 Mar 2008 Link to this post

    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
  6. Dominic Winterstein
    Dominic Winterstein avatar
    1 posts
    Member since:
    Apr 2010

    Posted 28 Apr 2010 Link to this post

    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
  7. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 30 Apr 2010 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready