Link to home
Create AccountLog in
.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

Avatar of busapps
busapps

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.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of PlatoConsultantPlatoConsultant🇺🇸

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 busappsbusapps

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.


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of busappsbusapps

ASKER

not sure what you mean, please expound.

ASKER CERTIFIED SOLUTION
Avatar of PlatoConsultantPlatoConsultant🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of busappsbusapps

ASKER

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

.NET Programming

--

Questions

--

Followers

Top Experts

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.