Node Validation

5 posts, 0 answers
  1. Chad
    Chad avatar
    21 posts
    Member since:
    Aug 2013

    Posted 11 Sep 2014 Link to this post

    We have a hierarchical data bound to a treeview. Sometimes the business rules might changes invalidating some of the nodes. How do we go about indicating the invalid nodes in the tree?
  2. Chad
    Chad avatar
    21 posts
    Member since:
    Aug 2013

    Posted 14 Sep 2014 Link to this post

    Just to add to this, we already have the IDataErrorInfo interface implemented but the treeview does not seem to support it.I guess the question would be how to get the treeview to show the errors using the IDataErrorInfo.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 16 Sep 2014 Link to this post

    Hi,

    The required functionality for validation of the RadTreeViewItems is not supported, yet. There is a feature request logged in our feedback portal. Please give your vote for it as the number of votes is the main parameter that takes place when we start evaluating the demand of the features for our future releases.

    Regards,
    Pavel R. Pavlov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Chad
    Chad avatar
    21 posts
    Member since:
    Aug 2013

    Posted 16 Sep 2014 in reply to Pavel R. Pavlov Link to this post

    Thanks for the reply Pavel and my response is not aimed at you. I'm just VERY disappointed...

    Honestly, a RAD data visualization control is unfinished if it doesn't support IDataErrorInfo and I really wouldn't call this a feature request. Like a lot of developers I bought this control suite to save time and leave the complex, fancy & slick xaml & control coding to Telerik experts.
  6. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 18 Sep 2014 Link to this post

    Hello,

    I fully understand your disappointment. However, please note that the RadTreeView control is actually a navigation control. Also, the scenarios where it can be used for editing are not common. This is the reason why the data validation is not yet supported out of the box.

    On the other hand you can use the validation feature of our RadMaskedInput controls. You can use for example the RadMaksedTextInput control and set it as ItemEditTemplate of the RadTreeView control.

    Regards,
    Pavel R. Pavlov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready