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

Validating GridViewComboBoxColumn

2 Answers 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Danny
Top achievements
Rank 1
Danny asked on 14 Mar 2012, 11:39 PM
Hello, what im trying to do right now, its to validate a gridviewcomboboxcolum in the way that if an specific item is loaded then that cell in the grid isEnabled sets to false.
Ex: I load information in the grid from DB, then theres 3 differents rows, the middle 9item one has a value of "Fail" in the column with header "TestResult" which is a gridviewcomboboxcolum, so i want this one to render as disabled.
I'll appreciate the help.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 15 Mar 2012, 11:32 AM
Hi,

 I would recommend you to use a CellStyleSelector to achieve your goal.  You could use it as described in this help article. Please as well refer to this online demo.

Kind regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Danny
Top achievements
Rank 1
answered on 16 Mar 2012, 10:42 PM
thank you very much, it worked perfectly! 
Tags
GridView
Asked by
Danny
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Danny
Top achievements
Rank 1
Share this question
or