Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello!

 

I need to know if it is possible to enable / disable certain entries in a Radio Button List programmatically.

 

Here's the situation: I have a form with many options on it, and some of these options are inter-related. For example, if a user is designing an installed system proposal, the cusotmer can be charged Sales Tax or Use Tax, but if it is an "Equipment Only" sale, then they are not eligible for Use Tax, so I want to disable the Use Tax option in the Radio Button List.

 

So far, I have only found the ability to Enable or Disable the entire list, not individual entries in the list.

 

Thanks!

 

Kahuna

The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order.

Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing.

-- Vincent T. Lombardi
Posted
Doesnt the radiobutton list have an Items collection in which you can insert and remove?

Yes, but I'd like the option to be visible but disabled, rather than removing and adding it. If that is the only option, I can certainly do that....

The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order.

Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing.

-- Vincent T. Lombardi
Posted

That's what I suspected, but I wanted to throw the question out to confirm. Thanks.

 

Kahuna

The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order.

Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing.

-- Vincent T. Lombardi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...