or
<
ResourceDictionary
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
>
<
ResourceDictionary.MergedDictionaries
>
<!--Controls-->
<
ResourceDictionary
Source
=
"/MyTheme;component/Themes/Slider.xaml"
/>
<
ResourceDictionary
Source
=
"/MyTheme;component/Themes/RadTreeListView.xaml"
/>
<
ResourceDictionary
Source
=
"/MyTheme;component/Themes/TreeListViewRow.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
Hello
How can I change the validation template of the row? (See attached picture).
How can I do validation in data Source Level and paint all the border of the grid in red if there errors?
Best regards
Ehud.
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding TransactionAccount.Name, Mode=OneWay}"
Header
=
"AccountName"
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
ComboBox
DataContext
=
"{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=telerik:RadGridView}, Path=DataContext}"
DisplayMemberPath
=
"Name"
IsEditable
=
"False"
IsReadOnly
=
"True"
ItemsSource
=
"{Binding TransactionAccounts}"
SelectedItem
=
"{Binding CurrentTransaction.TransactionAccount, Mode=TwoWay}"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
<
telerik:GridViewDataColumn.AggregateFunctions
>
<
Data:CountFunction
Caption
=
"Count: "
/>
</
telerik:GridViewDataColumn.AggregateFunctions
>
</
telerik:GridViewDataColumn
>