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

CellValidating-Event not fired with ControlTemplate

1 Answer 32 Views
This is a migrated thread and some comments may be shown as answers.
Monika Kogler
Top achievements
Rank 1
Monika Kogler asked on 05 Mar 2010, 02:25 PM
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">
                                                    <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"
                                                                IsChecked="{Binding IsReviewNeeded, Mode=TwoWay}" />

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!

1 Answer, 1 is accepted

Sort by
Nedyalko Nikolov
Telerik team
answered on 09 Mar 2010, 04:28 PM
Hi Monika Kogler,

Could you please check my answer to your similar forum post?

Kind regards,
Nedyalko Nikolov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Asked by
Monika Kogler
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question