For RADPanelBar
"EngagementListingPanel_Selected" this event is fired when i select any item in the expanded Node of RADPanelBar.
I want to select an item through code .
I am using Hierarchical Data :
public
class Category //: TreeViewItem
{
public string Name { get; set; }
public List<Category> SubCategories { get; set; }
public object Source { get; set; }
public string ParentName { get; set; }
public Category()
{ SubCategories =
new List<Category>(); }
}
Here
I bind my RadPanelBar with List<Category>
and From Hierarchy i bind like :
<core:HierarchicalDataTemplate ItemsSource="{Binding SubCategories}"
ItemTemplate="{StaticResource SubCategoryTemplate}" >
where my Itemtemplate is again a HierarchicalData:
<core:HierarchicalDataTemplate x:Name="SubCategoryTemplate" ItemsSource="{Binding SubCategories}"></<core:HierarchicalDataTemplate >
In Subcategories we have two type:Questionnaire Level ()
and QuestionLevel
from ItemSource i am binding the Questionnaire Level and from ItemTemplate for QuestionLevel
So whenever i select RadPanelBarItem i get this for "Questionnaire Level"
I want to select manually the items at Question Level
Please Suggest how it can be done.
Please Reply ASAP .
Regards
Charu Pahuja