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

Color Picker Validation

2 Answers 72 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Deboshree
Top achievements
Rank 1
Deboshree asked on 29 Dec 2008, 11:21 AM
Hi,
I have two ColorPicker, i don't want to allow anyone to select same color. Like i have a DisplayColor and TextColor, so the color should not be same.
Thank you. 

2 Answers, 1 is accepted

Sort by
0
Deboshree
Top achievements
Rank 1
answered on 29 Dec 2008, 11:55 AM
HI,
 Also i want to ask that can't we use a compare valildator for comparison?
0
Tsvetie
Telerik team
answered on 02 Jan 2009, 10:55 AM
Hi Deboshree,
You cannot use a CompareValidator with the RadColorPicker in this case. You can use a CustomValidator however, in order to check whether the SelectedColor property of the two ColorPickers has the same value. You can read more about the CustomValidator in MSDN.

All the best,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ColorPicker
Asked by
Deboshree
Top achievements
Rank 1
Answers by
Deboshree
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or