Hi,
i dont know how to achive mine problem, i got a GridView with two checkboxes Yes and No, when user click Yes, No should be Unchecked and when user clicks No, than Yes should be unchecked.
Also i need to save current row to database when something is clicked (Yes or No, cos default is none) so i need to fire an event.
Last question is how can i select current row on checkbox click ?
i dont know how to achive mine problem, i got a GridView with two checkboxes Yes and No, when user click Yes, No should be Unchecked and when user clicks No, than Yes should be unchecked.
<
telerik:RadGridView
Name
=
"listGridView"
IsSynchronizedWithCurrentItem
=
"True"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Tak"
Width
=
"40"
IsReadOnly
=
"True"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
IsChecked
=
"{Binding CheckYes, Mode=TwoWay}"
HorizontalAlignment
=
"Center"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Nie"
Width
=
"40"
IsReadOnly
=
"True"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
IsChecked
=
"{Binding CheckNo, Mode=TwoWay}"
HorizontalAlignment
=
"Center"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
Header
=
"Nazwa"
Width
=
"*"
UniqueName
=
"Description"
IsReadOnly
=
"True"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Also i need to save current row to database when something is clicked (Yes or No, cos default is none) so i need to fire an event.
Last question is how can i select current row on checkbox click ?