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

RowValidation errors persist in tooltip

4 Answers 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 20 May 2016, 02:41 PM

[Using 2015 version]

When row is validated and error set, followed by cancel of the edit, the error persists in the tooltip of the row.

I have implemented the fix suggested by Telerik:-

 private void RowEditEndedCommandHandler(GridViewRowEditEndedEventArgs e)
        {
            if(e.EditAction == GridViewEditAction.Cancel)
                e.UserDefinedErrors.Clear();
        }

Although this clears the list structure in code, the tooltips remain in the grid - this solution does NOT work.

I've created a simple project which displays this problem.

https://onedrive.live.com/redir?resid=F5592FAA18AF2058!246934&authkey=!ACoJXqIxerfCnkg&ithint=file%2czip

I really need to find a solution to how to clear the error from the tooltips following edit cancellation.

Thanks!

4 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 25 May 2016, 08:14 AM
Hello Ian,

The project you've provided does not seem to make use of a RadGridView. Could you please update the project or let me know if I've missed something?

Also, could you please verify that you're using version 2016.2.503 as this issue seems to be fixed in this version of the controls. I'm attaching a sample project where the error in the tooltip is not shown when the edit has been cancelled. Please have a look at it and let me know if you get the same behavior at your end.

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Ian
Top achievements
Rank 1
answered on 25 May 2016, 08:28 AM

Hi Dilyan,

Whoops! Wrong project uploaded. I had one called WPFTest and one called WPF_Test - this will teach me to use better names for my projects.

The correct project is:-

https://onedrive.live.com/redir?resid=F5592FAA18AF2058!246967&authkey=!AIzsHYpLJPt-HmM&ithint=file%2czip

The controls I'm using are: 2015.3.930.45

Was this a known problem on this version?

In the mean time I'll get the latest version and give it a try with that.

Thanks

Ian

 

 

0
Ian
Top achievements
Rank 1
answered on 25 May 2016, 11:06 AM

Tried the latest DLLs as suggested and this seems to have fixed the problem!

 

0
Dilyan Traykov
Telerik team
answered on 25 May 2016, 11:20 AM
Hello Ian,

I'm glad to hear that the issue is resolved. Feel free to contact me again should any further issues or concerns arise.

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Ian
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Ian
Top achievements
Rank 1
Share this question
or