Approved
Last Updated: 02 Dec 2019 09:41 by ADMIN
ADMIN
Stefan
Created on: 16 Aug 2018 15:30
Category: GridView
Type: Bug Report
1
GridView: When validating through IDataErrorInfo and an invalid row is scrolled out of the viewport and then scrolled back into it, its background is not updated when a valid input is entered

		
7 comments
ADMIN
Yoan
Posted on: 02 Dec 2019 09:41

Hi Rashmi,

The issue comes from the fact that in some situations we are respecting both - the Error property the IDataErrorInfo interface and its indexer at the same time. This is why I have opened again this bug report. I've also increased its priority so that it could be considered for fixing as soon as possible. I can suggest avoiding the Error property as a temporary workaround.

We will try to find a solution that will fix this issue, the one with the duplicate errors and the following one - When validating through IDataErrorInfo the tooltip errors are updated only after trying to commit a row edit.

Please excuse us for any inconvenience caused.

Regards,
Yoan
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
ADMIN
Dilyan Traykov
Posted on: 29 Nov 2019 11:36

Hi Rashmi,

Thank you for the provided image, code snippet, and detailed action steps.

I can confirm that I was able to replicate it at my end but we will require a little more time in order to further investigate. We will update you with our findings as soon as possible, hopefully at the beginning of next week.

Thank you in advance for your patience and understanding.

Regards,
Dilyan Traykov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Rashmi
Posted on: 25 Nov 2019 04:26

Hi Vera,

To reproduce the issue you need to first modify the code (in the sample that you attached) in DataModel.cs class for Error property as:

public string Error

        {

            get

         {

                StringBuilder sbError = new StringBuilder();

                foreach (var error in ERRORS)

                {

                    sbError.Append(error.Value + Environment.NewLine);

                }

                return sbError.ToString();

                //return null;

            }

        }

This is because Telerik support team suggested to return null from Error property of IDataErrorInfo as temporary fix to avoid getting multiple errors on tooltip.

You can follow below steps to reproduce the issue once above code change is done:

  • Set ActualStartDate and ActualEndDate from header equal to any row's StartDate and EndDate respectively (Refer attached image).
  • Check the error tooltip icon for errors. The errors are displayed correctly, one for each error. 
  • Scroll down the grid to bottom and then scroll up again.
  • Now check error tooltip icon for error messages. There will be multiple entries of errors now. 

Please let us know in case you need any other assistance. 

Reagrds,

Rashmi Singh 

Attached Files:
ADMIN
Vera
Posted on: 22 Nov 2019 15:23

Hello Rashmi,

I tried to reproduce the problem with the item scrolled out and in the viewport with the project from our internal system but to no avail. I attached the project so you can test it on your side. Please let me know in case I am missing something and the issue can be reproduced on it.

 

Regards,
Vera
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Attached Files:
Rashmi
Posted on: 20 Nov 2019 10:51

We tested this issue on 'Telerik UI for WPF latest version 2019.3.1023.45' and found that this issue is still not fixed.

Please let us know the expected resolution time for this issue. 

ADMIN
Vera
Posted on: 11 Oct 2018 12:11
The fix for both issues will be available with 2018 R3 SP expected in the middle of October.
Rashmi
Posted on: 17 Aug 2018 04:04
Added one more issue which is observed without scrolling the grid out of the view port.
This scenario is when we have more than one errors in a row then on correcting error for one of them does not remove the error message from the error tooltip for the corrected one.
Below is the link to the ticket where we have mentioned the details:

https://urldefense.proofpoint.com/v2/url?u=https-3A__www.telerik.com_account_support-2Dtickets_view-2Dticket-3Fthreadid-3D1179102&d=DwMGaQ&c=PskvixtEUDK7wuWU-tIg6oKuGYBRbrMXk2FZvF0UfTo&r=PZHQDyTf39M33lREM6GcpOwCDl1nabSqbe_WIx-E6nE&m=YYHtGn-IJ-6FrcMR36j9UFuU1Sw23_utgR8t4j7KZYw&s=v-0uDSb8rNtySiNl3xBbr1nXwXb-2Xt2ouzg2u_Z1Ow&e=