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

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

0 Answers 19 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dilip
Top achievements
Rank 1
Dilip asked on 11 Jun 2013, 12:29 PM
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>

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Dilip
Top achievements
Rank 1
Share this question
or