DataFormValidationSummary no longer displaying in 2013 Q2 611

5 posts, 1 answers
  1. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 08 Jul 2013 Link to this post

    Hi,
    I have been using the DataFormValidationSummary outside of the DataForm within my own UserControl.  The version I've been using is 2012 Q3 11/29 and it has worked beautifully.  I recently upgraded to 2013 Q2 6/11 and now the DataFormValidationSummary no longer displays.  Hopefully you can identify why this might occur, as I would hate to have to move back to the working version.
    Thanks in advance,
    Steve
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 09 Jul 2013 Link to this post

    Hi Steve,

    I have tried to reproduce the behavior you described, but unfortunately without much success. This is what I get with the Q2 2013 version. Do you see anything different on your side ? Is there anything more specific that you do ? 

    Regards,
    Maya
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 09 Jul 2013 Link to this post

    I don't use the RadDataForm.  I use the DataFormValidationSummary directly and bind it to a collection of  Telerik.Windows.Controls.Data.ErrorInfo.
    <telerikDataForm:DataFormValidationSummary DockPanel.Dock="Bottom"
                                               Margin="0"
                                               Errors="{Binding Errors}"
                                               Focusable="False"
                                               KeyboardNavigation.DirectionalNavigation="None"
                                               KeyboardNavigation.TabNavigation="None" />

  5. Answer
    Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Jul 2013 Link to this post

    Hello Steve,

    Generally, there should be no changes in the validation summary in that time period. Can you try displaying the errors in another control ?   I have tested a very simple case on my side:

    this.summary.Errors = new ObservableCollection<Telerik.Windows.Controls.Data.ErrorInfo>(){new ErrorInfo(){ErrorContent = "ErrorContent"}};

    and it works ok. Do you do anything more specific ?

    Regards,
    Maya
    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 >>
  6. Steve
    Steve avatar
    124 posts
    Member since:
    Jun 2011

    Posted 12 Jul 2013 Link to this post

    Thanks for the response.  Upon further investigation I discovered that in an attempt to force validation when tabbing through controls without user input, I was forcing the validation to add the error, and then remove it.  I was able to fix this and it had nothing to do with the ValidationSummary itself.

    Thanks,
    Steve
Back to Top
UI for WPF is Visual Studio 2017 Ready