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

Node Validation

4 Answers 107 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 12 Sep 2014, 12:03 AM
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?

4 Answers, 1 is accepted

Sort by
0
Chad
Top achievements
Rank 1
answered on 15 Sep 2014, 03:11 AM
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.
0
Pavel R. Pavlov
Telerik team
answered on 16 Sep 2014, 07:06 AM
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.
 
0
Chad
Top achievements
Rank 1
answered on 16 Sep 2014, 07:38 AM
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.
0
Pavel R. Pavlov
Telerik team
answered on 18 Sep 2014, 01:15 PM
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.
 
Tags
TreeView
Asked by
Chad
Top achievements
Rank 1
Answers by
Chad
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or