Hello Support,
I am using the telerik's silverlight RadGridview control for editing,deleting and inserting data to the database. We got a sield called "status" which is of type tinyint. I am using a checkboxcolumn for displaying this field and when user clicks on the checkbox status should be updated accordingly. I am using WCF riaservice to link the database to radcontrol for its operations. Everything including editing is working fine apart from an issue in display of the checkbox.
When the page is loading the checkbox is showing with a 'hyphen' and it will show the checkbox with status (check or uncheck) only after we click on this cell. How can I get ridoff this 'hyphen' that comes initially and show the checked/unchecked status on the page load itself. Please note that I tried out the alternate way as well, that is using a checkbox inside GridviewDatacolumn. In that case initially ther eis no checkbox. It will be displayed only on clicking on the cell. This same DB is working fine as expected for microsoft's datagrid control.
I am attaching the image of the gridview result. Also I am attaching the xaml code as below.
Regards,
Rajesh
I am using the telerik's silverlight RadGridview control for editing,deleting and inserting data to the database. We got a sield called "status" which is of type tinyint. I am using a checkboxcolumn for displaying this field and when user clicks on the checkbox status should be updated accordingly. I am using WCF riaservice to link the database to radcontrol for its operations. Everything including editing is working fine apart from an issue in display of the checkbox.
When the page is loading the checkbox is showing with a 'hyphen' and it will show the checkbox with status (check or uncheck) only after we click on this cell. How can I get ridoff this 'hyphen' that comes initially and show the checked/unchecked status on the page load itself. Please note that I tried out the alternate way as well, that is using a checkbox inside GridviewDatacolumn. In that case initially ther eis no checkbox. It will be displayed only on clicking on the cell. This same DB is working fine as expected for microsoft's datagrid control.
I am attaching the image of the gridview result. Also I am attaching the xaml code as below.
<
telerik:RadGridView
x:Name
=
"GridvwCategory"
AutoGenerateColumns
=
"False"
ShowGroupPanel
=
"False"
RowEditEnded
=
"GridvwCategory_RowEditEnded"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Name"
DataMemberBinding
=
"{Binding Name}"
IsFilterable
=
"False"
/>
<
telerik:GridViewCheckBoxColumn
Header
=
"Status"
IsThreeState
=
"False"
AutoSelectOnEdit
=
"True"
EditTriggers
=
"CellClick"
IsFilterable
=
"False"
IsSortable
=
"False"
DataMemberBinding
=
"{Binding Status, Mode=TwoWay}"
IsVisible
=
"True"
/>
</
telerik:RadGridView.Columns
>
Regards,
Rajesh