Default Selected Item

3 posts, 0 answers
  1. Orit
    Orit avatar
    97 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2009 Link to this post

    I want to set a default selected item
    that means, when I select a "father" one of the "children" will be selected
    what I do now is this
    I have a case which "runs" on the name of the selected item and do what I need...
    what I miss is
    when I select a father and actually make it select one of the children (my default)
    the selected child is not colored in the white color
    as it happens when I "really" select the child
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 28 Jul 2009 Link to this post

    Hello Orit,

    From the details you provided I was not able to reproduce your issue. Please take a look at the sample project I am attaching to this post and adjust it if necessary to reproduce the problem.

    Sincerely yours,
    Tihomir Petkov
    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Orit
    Orit avatar
    97 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2009 Link to this post

    Thanks!
    this is exactly what I need
    but there is still a problem
    if one of the RadPanelBarItem does not have items "children"
    it does not work well when u select it

    telerikNavigation:RadPanelBar Expanded="RadPanelBar_Expanded">  
                <telerikNavigation:RadPanelBarItem Header="Item 1">  
                    <telerikNavigation:RadPanelBarItem Header="Item 1.1" /> 
                    <telerikNavigation:RadPanelBarItem Header="Item 1.2" /> 
                    <telerikNavigation:RadPanelBarItem Header="Item 1.3" /> 
                </telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem Header="Item 2">  
                </telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem Header="Item 3">  
                    <telerikNavigation:RadPanelBarItem Header="Item 3.1" /> 
                    <telerikNavigation:RadPanelBarItem Header="Item 3.2" /> 
                    <telerikNavigation:RadPanelBarItem Header="Item 3.3" /> 
                </telerikNavigation:RadPanelBarItem> 
            </telerikNavigation:RadPanelBar> 

    Thanks again :)
Back to Top