Hi Team,
We are using cell templates for the cells inside the RadTreeListView. In .Net 4.5 and with latest telerik package CUIT is not able to navigate to the controls placed inside the cell template where as in .Net 4.0 we were able to automate actions on it using CUIT.
Following is the sample xaml file code:
Regards,
Sirisha
We are using cell templates for the cells inside the RadTreeListView. In .Net 4.5 and with latest telerik package CUIT is not able to navigate to the controls placed inside the cell template where as in .Net 4.0 we were able to automate actions on it using CUIT.
Following is the sample xaml file code:
<
Window
x:Class
=
"MainWindow"
xmlns:local
=
"clr-namespace:WpfApplication1"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Height
=
"350"
Width
=
"525"
Title
=
"InterWalmartGraph Cafeteria Grocery Store"
>
<
Window.Resources
>
<
DataTemplate
x:Key
=
"ReadonlyTextCellTemplate"
>
<
DockPanel
Margin
=
"1"
>
<
TextBlock
Text
=
"{Binding Count}"
/>
<
Button
Content
=
"{Binding Name}"
/>
</
DockPanel
>
</
DataTemplate
>
</
Window.Resources
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:RadTreeListView
x:Name
=
"radTreeListView"
AutoGenerateColumns
=
"False"
>
<
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:TreeListViewTableDefinition
ItemsSource
=
"{Binding Items}"
/>
</
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:RadTreeListView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
Header
=
"Name"
/>
<
telerik:GridViewDataColumn
Header
=
"Count"
CellTemplate
=
"{StaticResource ReadonlyTextCellTemplate}"
/>
</
telerik:RadTreeListView.Columns
>
</
telerik:RadTreeListView
>
</
Grid
>
</
Window
>
Regards,
Sirisha