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

INotifyDataErrorInfo and RadDropDownButton

4 Answers 54 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Alexey Oyun
Top achievements
Rank 1
Alexey Oyun asked on 22 Oct 2010, 01:52 PM
Hi,

Is possible to use INotifyDataErrorInfo interface to validate RadDropDownButton.

For example inside drop-down content I have list of items.
When user selects item, drop-down content set to item name.

If drop-down content is string.Empty it should be invalid.

Thanks, Alexey

4 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 27 Oct 2010, 05:17 PM
Hi Alexey Oyun,

I am not sure that I understand your scenario correctly. Can you please have a look at the attached project and let me know if this is close to what you had in mind?

Regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Alexey Oyun
Top achievements
Rank 1
answered on 28 Oct 2010, 09:01 AM
Hi,
I will try to explain once more :)

Let's assume that we have drop-down control with checkboxes and combobox.

User opens drop-down and checks some options in it. Then changes selected item in combobox, which makes checked checkboxes in drop-down invalid.

User can see red border around checkbox if he opens drop-down, but drop-down itself won't show that it has invalid content.
One solution is to open drop-down to let user see invalid controls in drop-down content, other draw red border in around drop-down for same purpose.

Thanks, Alexey
0
Accepted
Miro Miroslavov
Telerik team
answered on 01 Nov 2010, 12:02 PM
Hi Alexey Oyun,

 I don't think this is possible, since the DropDownButton is not actually an Input control, so the validation for it is not working that way. You will need to implement such a validation logic for yourself, or change your Design so that the invalid items are always visible.
If we can be of further help, please let us know. 

Best wishes,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Alexey Oyun
Top achievements
Rank 1
answered on 01 Nov 2010, 12:13 PM
Hi,

Thanks for your time, maybe I will have to use validation summary or redesign UI.

Thanks, once more Alexey.
Tags
Buttons
Asked by
Alexey Oyun
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Alexey Oyun
Top achievements
Rank 1
Miro Miroslavov
Telerik team
Share this question
or