ChechBox in a grid has to click thrice to edit

3 posts, 0 answers
  1. Kashi Reddy
    Kashi Reddy avatar
    4 posts
    Member since:
    Jul 2009

    Posted 27 Jul 2009 Link to this post

    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. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 27 Jul 2009 Link to this post

    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.
  3. Kashi Reddy
    Kashi Reddy avatar
    4 posts
    Member since:
    Jul 2009

    Posted 28 Jul 2009 Link to this post

    Hi,

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

    Thanks
    Kashi


Back to Top