RowValidation errors persist in tooltip

5 posts, 0 answers
  1. Ian
    Ian avatar
    4 posts
    Member since:
    Nov 2015

    Posted 20 May Link to this post

    [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!

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 25 May Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ian
    Ian avatar
    4 posts
    Member since:
    Nov 2015

    Posted 25 May in reply to Dilyan Traykov Link to this post

    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

     

     

  5. Ian
    Ian avatar
    4 posts
    Member since:
    Nov 2015

    Posted 25 May Link to this post

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

     

  6. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 25 May Link to this post

    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.
Back to Top
UI for WPF is Visual Studio 2017 Ready