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

[Solved] Null Reference Exception when GridViewRow.IsValid changed to true

1 Answer 155 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Konstantin
Top achievements
Rank 1
Konstantin asked on 28 Jan 2011, 03:18 PM
I bind RadGridView to collection of RIA services entities and also allow to edit entity outside of the Grid. If validation exception occurs in new Entity. RadGridView receive notification (I can't block it, because it deep inside RIA Services). Then GridViewRow.UpdateParentValidationOfCells() is used and it fails because base.CellsPresenter is null (I don't have DataCellsPresenter in my GridViewRow template).

Is it possible to ignore DataError events by RadGridView?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 31 Jan 2011, 08:36 AM
Hi Konstantin,

 We've fixed this immediately and the fix will be part of our next internal build. I've added 1000 Telerik points to your account. You can use also ValidatesOnDataErrors property of the grid to disable the grid validation (you need to set this to "None").

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Konstantin
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or