This is a migrated thread and some comments may be shown as answers.

ChechBox in a grid has to click thrice to edit

2 Answers 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kashi Reddy
Top achievements
Rank 1
Kashi Reddy asked on 27 Jul 2009, 12:55 PM
Hi,

Have to click thrice to change value of checkBox in a GridView. How can I fix this issue.


Thanks for the support
Kashi

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 27 Jul 2009, 01:17 PM
Hi Kashi,

You can declared your own CellTemlate with CheckBox:

   <telerik:RadGridView x:Name="RadGridView1">
            <telerik:RadGridView.Columns>
                <telerik:GridViewColumn Header="Templated Column">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <CheckBox IsChecked="{Binding YourBooleanProperty}"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kashi Reddy
Top achievements
Rank 1
answered on 28 Jul 2009, 07:31 AM
Hi,

It worked. I was using CellEditTemplate instead of CellTemplate that was the issue

Thanks
Kashi


Tags
General Discussions
Asked by
Kashi Reddy
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Kashi Reddy
Top achievements
Rank 1
Share this question
or