Link to home
Start Free TrialLog in
Avatar of busapps
busapps

asked on

Deactivate an item in a valuelist based on a tag property

I have some items in an Infragistics (using 2008 volume 3 WinForms) valuelist which are active and some are inactive but need to be displayed for historical records purposes.  

My ideal situation would be to display them but not select the item.  The second best scenario would be to do a strikethrough on the text of the Inactive records.
Avatar of PlatoConsultant
PlatoConsultant
Flag of United States of America image

there is a before drop down event you can handle it and then depend upon the data present in the grid row u will handle the enabling or disabling of this drop down...





Avatar of busapps
busapps

ASKER

Not quite what I'm looking for.  I need to allow some ValueListItems to be selected within a ValueList, but other ValueListItems within the ValueList to be not selected.  
can u use the filter items, if u want to disable some items in the valuelist there need to do too much programming.

Avatar of busapps

ASKER

not sure what you mean, please expound.
ASKER CERTIFIED SOLUTION
Avatar of PlatoConsultant
PlatoConsultant
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of busapps

ASKER

The 2 valuelists is a good idea.  Just change them on the before dropdown event and set it back on the afterExitEntryMode event.