Validating GridViewComboBoxColumn

3 posts, 1 answers
  1. Danny
    Danny avatar
    4 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2012 Link to this post

    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. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Mar 2012 Link to this post

    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 >>
  3. Danny
    Danny avatar
    4 posts
    Member since:
    Feb 2012

    Posted 16 Mar 2012 Link to this post

    thank you very much, it worked perfectly! 
Back to Top