Inside the Radgrid initially appears as checkbox,but when clicked are found to be editable like text fields

1 posts, 0 answers
  1. Dilip
    Dilip avatar
    23 posts
    Member since:
    Jun 2013

    Posted 11 Jun 2013 Link to this post

    Hi i have checkbox inside the radgrid in the initially it will appear as checkbox when i click on the cell it will behave as textblox how can i avoid ,, for refernce i have attached the screen shot

    Below is the code how i am binding

    <

     

     

    telerik:GridViewDataColumn UniqueName="CheckBox" IsVisible="False">

     

     

     

     

    <telerik:GridViewDataColumn.Header>

     

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

     

    <StackPanel Orientation="Horizontal">

     

     

     

     

    <CheckBox x:Name="SelectTargetFileChkBoxHeader" Foreground="White" Click="SelectTargetFileChkBoxHeader_Click"></CheckBox>

     

     

     

     

    </StackPanel>

     

     

     

     

    <TextBlock Text="Select Target Files"></TextBlock>

     

     

     

     

    </StackPanel>

     

     

     

     

    </telerik:GridViewDataColumn.Header>

     

     

     

     

    <telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    <DataTemplate>

     

     

     

     

    <CheckBox x:Name="SelectTargetFileChkBox" Foreground="White" Click="SelectTargetFileChkBox_Click" ></CheckBox>

     

     

     

     

    </DataTemplate>

     

     

     

     

    </telerik:GridViewDataColumn.CellTemplate>

     

     

     

     

    </telerik:GridViewDataColumn>

     

Back to Top