Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Cell ValueList and Style=DropDownValidate...but still can leave cell?
posted

I've read through several posts this afternoon--maybe I'm still missing something.

I have a grid with a cell that I want to provide a drop down list for.

So I create a ValueList and fill it with the values I want and assign it to the cell.

Also, I set the style of the grid column to be DropDownValidate

However, I'm still allowed to key in a value that doesn't exist--and leave the cell!

Someone, please tell me I'm crazy.

  • 469350
    Verified Answer
    Offline posted

    DropDownList might be a better solution for you here.

    But DropDownValidate should still work, also. Can you post a small sample project demonstrating that this is not working so we can take a look?

  • 12773
    posted

    Hello,

    I think that you have to set DropDownStyle on the column to DropDownList. In that case, the Text property will not accept any value that is not on the list.

    I hope this helps.

     

    Sincerely,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.