Hi,
i have a gridview with checkboxcolumns (set as controltemplates) like this one:
<telerik:GridViewDataColumn x:Name="colReview" Header="Review Needed?" DataMemberBinding="{Binding IsReviewNeeded}">
<telerik:GridViewDataColumn.CellStyle >
<Style TargetType="GridView:GridViewCell">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GridView:GridViewCell">
<Border x:Name="PART_CellBorder" Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}" BorderThickness="0,0,1,1" BorderBrush="Silver">
<CheckBox Tag="CheckSecurity#AssayDialogPlates_Review" x:Name="PART_ContentPresenter" Margin="5,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
IsChecked="{Binding IsReviewNeeded, Mode=TwoWay}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:GridViewDataColumn.CellStyle>
</telerik:GridViewDataColumn>
and the grid have the CellValidating-Event. For each other cell, the CellValidating-Event is fired but not for the checkbox-Columns. Any suggestions? I need to use the columns this way!
Thx
i have a gridview with checkboxcolumns (set as controltemplates) like this one:
<telerik:GridViewDataColumn x:Name="colReview" Header="Review Needed?" DataMemberBinding="{Binding IsReviewNeeded}">
<telerik:GridViewDataColumn.CellStyle >
<Style TargetType="GridView:GridViewCell">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="GridView:GridViewCell">
<Border x:Name="PART_CellBorder" Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}" BorderThickness="0,0,1,1" BorderBrush="Silver">
<CheckBox Tag="CheckSecurity#AssayDialogPlates_Review" x:Name="PART_ContentPresenter" Margin="5,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
IsChecked="{Binding IsReviewNeeded, Mode=TwoWay}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:GridViewDataColumn.CellStyle>
</telerik:GridViewDataColumn>
and the grid have the CellValidating-Event. For each other cell, the CellValidating-Event is fired but not for the checkbox-Columns. Any suggestions? I need to use the columns this way!
Thx