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

IDataErrorInfo can't be disabled

2 Answers 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sebastian Talamoni
Top achievements
Rank 1
Sebastian Talamoni asked on 13 Sep 2010, 04:41 PM
Hi Support, 

Look at this stack:
http://screencast.com/t/NmJiNDc1ZW

I've tried:
1) Setting the DataGrid to read only
2) Column to read only
3) binding to ignore DataErrors

   <telerik:GridViewDataColumn Header="Country" UniqueName="Country" 
                                                    IsReadOnly="True"
                                                    DataMemberBinding="{Binding Country.Name,ValidatesOnDataErrors=False}">
                        </telerik:GridViewDataColumn>

Nothing seems to prevent the call (completelly unnecesary IMHO) to IDataErrorInfo.

I consider this to be a mayor problem.


Notes: 
  • I can't find ValidatesOnDataErrors @ RadGridView level. (only available for silverlight?) 
  • Using latest WPF version : 2010.2.812.35

thanks in advance, 
Sebastian Talamoni



2 Answers, 1 is accepted

Sort by
0
Sebastian Talamoni
Top achievements
Rank 1
answered on 13 Sep 2010, 07:20 PM
OK, just for the records , it's fixed in: RadControls_for_WPF_40_2010_2_0903 only when using ValidatesOnDataErrors="None" in the Grid.

I've tried to set it only in the column but the validation still got executed (so it's not working as expected at column level) 
   <telerik:GridViewDataColumn Header="Country" UniqueName="Country" 
                                              IsReadOnly="True" ValidatesOnDataErrors="None"
                                              DataMemberBinding="{Binding Country.Name}">
  </telerik:GridViewDataColumn>





0
Nedyalko Nikolov
Telerik team
answered on 15 Sep 2010, 07:31 AM
Hi Sebastian Talamoni,

Thank you for reporting this out. The issue will be fixed with the next official and latest internal release.

P.S. I've updated your Telerik points accordingly.

Greetings,
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
Tags
GridView
Asked by
Sebastian Talamoni
Top achievements
Rank 1
Answers by
Sebastian Talamoni
Top achievements
Rank 1
Nedyalko Nikolov
Telerik team
Share this question
or