Ok, I am building a product configurator which works quite well except
for a few bugs. It has a couple of listboxes and a checked list box.
Now the checked list box holds upgrades for products listed in a
different listbox and these upgrades are grouped by category so for
example if you select a computer then the checked list box may display:
512 RAM
1GB RAM
HDD 30 GB
HDD 60 GB
video...
so, these products are in logical groupings... RAM, HDD, etc. When I
select the checkbox for 1GB RAM then I want to get rid of the checkbox
on 512 RAM and here is where I run into my problem. I decided to give
each member of a group an identifier. Then I created an
ItemCheckChanged event handler. When one of the checks changes I change
all the other checks associated with this group which in turn changes
all the other cheks associated with this group which in turn changes...
you get the idea. This recursive loop never ends and I cant seem to get
the logic working any other way. Any Suggestions on how to fix my
problem? I dont care if there is another type of listbox that may help
or some way to stop logging the remainder of the check changes or even
comming up with some sort of dynamic radio button group thing (because
different items may have different amounts of upgrades and radio
buttons are what I really need here anyway)
thanx
--Roman