Hello.
I have boolean column in my grid with custom checkbox template:
<
telerik:GridViewDataColumn
Header
=
"Custom Bool Column"
EditTriggers
=
"CellClick"
DataMemberBinding
=
"{Binding LabelReady, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
HeaderTextAlignment
=
"Center"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
Image
Height
=
"20"
Margin
=
"2"
Stretch
=
"Uniform"
>
<
Image.Style
>
<
Style
TargetType
=
"{x:Type Image}"
>
<
Setter
Property
=
"Source"
Value
=
"/red-cross.png"
/>
<
Style.Triggers
>
<
DataTrigger
Binding
=
"{Binding LabelReady}"
Value
=
"True"
>
<
Setter
Property
=
"Source"
Value
=
"/green-tick.png"
/>
</
DataTrigger
>
</
Style.Triggers
>
</
Style
>
</
Image.Style
>
</
Image
>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
And I need to add a confirmation dialog on cell edit using MVVM approach, i.e. now when user double clicks on the image, the value is changed to opposite, how can I add a dialog, which will ask user if he really wants to change the value, and change the value in cell only if he press "Yes" ?