I have a fairly simple radgridview I'm messing around with. the data is loaded from a dataset, I only have 1 column that is editable (all others are readonly). However, when I edit that column it clears the cell rather than letting me edit the value it is currently.
the code:
the code:
<
telerik:RadGridView
HorizontalAlignment
=
"Left"
Margin
=
"12,78,0,0"
Name
=
"gvAccounts"
VerticalAlignment
=
"Top"
Height
=
"240"
Width
=
"619"
AutoGenerateColumns
=
"False"
Grid.Column
=
"0"
CanUserSortColumns
=
"False"
DataLoaded
=
"gvAccounts_DataLoaded"
LoadingRowDetails
=
"gvAccounts_LoadingRowDetails"
CanUserReorderColumns
=
"False"
ShowGroupPanel
=
"False"
EditTriggers
=
"CellClick"
BeginningEdit
=
"gvAccounts_BeginningEdit"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewSelectColumn
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding acct_num}"
Header
=
"Account No"
IsReadOnly
=
"True"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding reg_phone_num, Mode=TwoWay}"
Header
=
"Mobile Phone No"
IsReadOnly
=
"True"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding nickname, Mode=TwoWay}"
Header
=
"Nickname"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding created_dt, Mode=TwoWay}"
Header
=
"Date Activated"
IsReadOnly
=
"True"
>
</
telerik:GridViewDataColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding address, Mode=TwoWay}"
Header
=
"Service Address"
IsReadOnly
=
"True"
TextWrapping
=
"Wrap"
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>