How change the selectedgroupElement?

5 posts, 0 answers
  1. Marturo77
    Marturo77 avatar
    7 posts
    Member since:
    May 2007

    Posted 17 May 2007 Link to this post

    Hi.

    I'm trying to change the selected groupElement (or panelBarGroupElement)    programmaticaly  in the panelbar Control.

    How i can make this?

    Thanks
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 18 May 2007 Link to this post

    Hello Arturo Duarte,

    To select or expand a group in the panelbar just call the PerformExpand method of that particular group:

    radPanelBarGroupElement1.PerformExpand(); 

    Please write back if we could be of further assistance.
     

    Sincerely yours,
    Ray
    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. Marturo77
    Marturo77 avatar
    7 posts
    Member since:
    May 2007

    Posted 18 May 2007 Link to this post

    Sorry this instruccions don't work, i use the control in the OutLookNavPane group style.

    Can you help me?

    thanks
  5. Jason
    Jason  avatar
    2 posts
    Member since:
    May 2007

    Posted 18 May 2007 Link to this post

    The solution to programmatically select a group of RadPanelBar in OutLookNavPane style is the following:

    radPanelBar1.PanelBarElement.OutLookNavPane(radPanelBarGroupElement8); 
     

    So you simply have to pass the group as a parameter of the OutLookNavPane method of RadPanelBarElement.

  6. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 21 May 2007 Link to this post

    Indeed, Jason, you are right, that works fine for OutLookNavPane style of RadPanelBar. If you need any further assistance please feel free to write us back.


    All the best,
    Ray
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready