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

Error is not shown in InViewMode

3 Answers 47 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Svetoslav
Top achievements
Rank 1
Svetoslav asked on 31 Aug 2018, 12:10 PM

Hello, I have a big problem with the RadTreeListView,when I set the ValidatesOnDataErrors to InViewMode. When there is error on the cell I only see the error indicator in the top right corner when I click the cell but if I lost focus on the cell then the error indicator in the corner disappear.

3 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 05 Sep 2018, 06:33 AM
Hello Svetoslav,

I tested the described behavior on my side, however I am afraid that I was not able to replicate it. I slightly modified the ExpandItemsIntoView RadTreeListView example to implement the IDataErrorInfo interface. I am attaching the sample project along with a video which shows the behavior on my side. You can observe that the cell's validation template is shown even when the focus is not on it.

May I ask you to check out the attached project and see how it differs from the setup at your end? Should you need any further assistance, can you let me know what you are doing differently so that I can reproduce the described scenario on my side.

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
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.
0
Svetoslav
Top achievements
Rank 1
answered on 05 Sep 2018, 12:15 PM
Hello, thank you for your answer and for the example. But I am using INotifyDataErrorInfo and not IDataErrorInfo, I will try to rework your example to see if it will work with INotifyDataErrorInfo and report back here.
0
Svetoslav
Top achievements
Rank 1
answered on 05 Sep 2018, 01:09 PM
Okay, it is working fine with INotifyDataErrorInfo  too, so there is something wrong with my code I will try again, thank you.
Tags
TreeListView
Asked by
Svetoslav
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Svetoslav
Top achievements
Rank 1
Share this question
or