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

RadGridView with IDataErrorInfo validate just visible cells

9 Answers 76 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mano Sadeh
Top achievements
Rank 1
Mano Sadeh asked on 20 Jan 2014, 07:23 PM

Hey,



We have a business object that implements IDataErrorInfo. The Grid validate just the visible cells. If a column that it is not visible (the user needs to scroll) has error, the entire row shows as a valid row. Just when to user scroll (horizontally) the row display as a invalid row.



see the attached screen shots.



Any idea how to fix this?



Thanks,

Mano



















9 Answers, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 21 Jan 2014, 11:59 AM
Hello Mano,

Could you clarify which version of RadControls for WPF you are currently using? We had some similar issues before but they were fixed.

Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Mano Sadeh
Top achievements
Rank 1
answered on 27 Jan 2014, 08:06 PM
We are using the latest .NET 3.5 WPF Controls:

RadControls for WPF Q2 2012 SP2
Thanks,
Mano
0
Vera
Telerik team
answered on 30 Jan 2014, 08:50 AM
Hello Mano,

Indeed, the problem can be reproduced with the version you are currently using. The only way to go is to migrate to a newer one. Our Q3 2013 SP2 was just released but there are some validation issues we are currently working on and the fixes will be available with Q1 2014 (expected till the end of February). I would suggest you to download Q3 2013 SP1 and to give it a try.

Please let us know in case you experience any other problems.


Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Mano Sadeh
Top achievements
Rank 1
answered on 30 Jan 2014, 08:14 PM
We are using .NET 3.5 and we can't move to .NET 4.0 yet. Anyway this can be fixed with .NET 3.5?

Thanks,
Mano
0
Vera
Telerik team
answered on 31 Jan 2014, 02:26 PM
Hi Mano,

As it turns out, we cannot suggest you any workaround in this case. What you can do is to use another validation approach (DataAnnotations Attributes, INotifyDataErrorInfo, etc.) or to check whether your validation has failed and to set the row as invalid in RowValidating event.

Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Vivek
Top achievements
Rank 1
answered on 13 May 2014, 06:02 PM
Hi Vera,

We're currently using the new Q1'14 controls and we still have an issue with validation errors only showing for visible cells.

Specifically, columns 6-9 have validation errors, but only cols 1-4 are visible (we don't have the window maximized). The row(s) will glow red to indicate an error and you'll see the red error icon in the very first column, but when you go to hover over it, no tooltip pops up to show you the errors. However, if we scroll to bring cols 6-9 in view, then hovering over the icon displays the list of errors.
0
Yoan
Telerik team
answered on 15 May 2014, 02:39 PM
Hi Vivek,

In order to resolve your problem, may I ask you which method for validation you are using? It will be great if you can send us a sample project which reproduces the problem. We will debug it on our side and will check what is going on.

Looking forward to hearing from you.


Regards,
Yoan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Vivek
Top achievements
Rank 1
answered on 19 May 2014, 06:12 PM
Hi Yoan,

Sure, I submitted a support ticket (#821162) with the sample project attached.

Thanks!
0
Yoan
Telerik team
answered on 22 May 2014, 02:05 PM
Hello Vivek,

I have already answered your support ticket.

Regards,
Yoan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Mano Sadeh
Top achievements
Rank 1
Answers by
Vera
Telerik team
Mano Sadeh
Top achievements
Rank 1
Vivek
Top achievements
Rank 1
Yoan
Telerik team
Share this question
or