Dynamically build combo/radio options
<p>I will have a product page that could have up to 20 different SKUs on a single page, but all have the same master record.  The master record has aload of flags in it saying if it has height/depth/width/length.  </p>

<p>I am trying to dynamically generate selectable options on a product page and build an 'option map' or function so that all the other options are filtered on the client side and they end up with the correct SKU.</p>

<p>I'm not sure which way to approach this as i've only just started learning javascript, normally I would just use asp controls and I could easily postback and update controls but i'm trying to make it as nice to use as possible.</p>

<p>Could I register a javascript function on page load with all the product options in an array and then rebind the combos/radios onChanged?  I was thinking I could Dynamically generate the combos I need in c# code behind based on the master flags and link them to my new javascript function?</p>

<p>I'm happy to go away and research stuff I just want to make sure there's not a better way of doing it (or if this will even work).</p>
