SelectedIndex attribute allows "With this method you can determine which root item to be selected on
initial rendering. If the item has childrens, the it will be
expanded." and this is the issue. My PanelBar is not having any items because he uses Content attribute for each main panel item. Maybe SelectedIndex shouldn't "look" for children when selecting PanelBar item?