5 Answers, 1 is accepted
Could you give us some more information about your scenario? Please, note that the INotifyDataErrorInfo should be implemented in the Model or in the ViewModel. Can you share some information about INotifyDataErrorInfo interface support?
George
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Of course, I know how to implement that interface in the view model.
I would like to see the visual feedback (red frame about the control and the error message inside) when the binded property has an error message in a error collection.
Nothing special. Exactly the same like the standard textbox control.
Thank you.
Tom
RadListBox control is not designed to support data validation. The red frame is missing because it's not located in the control template and there is no error tooltip. You can edit the RadListBox control template and add validation tooltip and validation states as well. We logged feature request for this user scenario and we can vote for it and track its progress here - http://www.telerik.com/support/pits.aspx#/public/silverlight/14806
I would suggest using a RadComboBox control instead of RadListbox for data validation. You can find an online example here - http://demos.telerik.com/silverlight/#ComboBox/Validation
Hope this helps.
George
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
It is bad luck.
It may be doable, but I have no knowledge how to listen to the bound property throwed errors.
I can use silverlight toolkit listbox, it can show validation messages, but it does not support your themes.
:-(
Thank you
Tom
You need to add ValidationStates to the control template of RadListBox.
The attached project demonstrates how to show validation ToolTip inside RadListBox control.
I hope it helps.
Masha
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.