alright - I figured out what my problem was - I didn't have EnableEventValidation set to false and AutoPostBack set to true on the dropdownlists. Now I have another quick question. How do I determine if a drop down list has been 'enabled' yet. Basically, I want to check if there's any subcategories beneath the current category. In Page_Load, I check the dropdownlist2.enabled property, and it's always set to true, even if it hasn't been enabled by the cascadingdropdown object. How do I check to see if the dropdownlist has been enabled? I could just do another query, but if there's a property I could check of either the dropdownlist or the cascadingdropdown, it would be much faster.
Sunday, March 11, 2012
Getting value from Cascading Drop Down Lists
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment