Get access to Dropdown list generated by options and variant
Posted: Thu Aug 19, 2010 4:49 am
I have created a option “Width” for my product which generates a dropdown list within a PlaceHolder control on the product page. I want to get access to this dropdown list control in BuyProductDialog.ascx.cs how can I do this ?
I want to get the length of the dropdown list and loop round the list of items.
Can I use method PageHelper.RecursiveFindControl(phOptions, what attribute do I need to pass by value here)
Thanks
Dylan
I want to get the length of the dropdown list and loop round the list of items.
Can I use method PageHelper.RecursiveFindControl(phOptions, what attribute do I need to pass by value here)
Thanks
Dylan