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

inotifydataerrorinfo

5 Answers 73 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 04 Apr 2013, 09:17 PM
No support of this interface?

Thank you Tomas

5 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 09 Apr 2013, 02:23 PM
Hi Tomas,

 
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?

All the best,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
tomas
Top achievements
Rank 1
answered on 13 Apr 2013, 11:00 PM
Hello,

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
0
George
Telerik team
answered on 18 Apr 2013, 11:39 AM
Hello 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.

All the best,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
tomas
Top achievements
Rank 1
answered on 18 Apr 2013, 12:01 PM
Hi.

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
0
Masha
Telerik team
answered on 22 Apr 2013, 04:22 PM
Hi Tomas,

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.

Greetings,
Masha
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ListBox
Asked by
tomas
Top achievements
Rank 1
Answers by
George
Telerik team
tomas
Top achievements
Rank 1
Masha
Telerik team
Share this question
or