I had the following working in 3.5 but seems to be very different in 4.0. Very simply I want to select the Value from a dropdownlist (description for the list is displayed) and then update the field in the table with the value (key - programming 101).
In my InsertItemTemplate section I added a dropdownlist instead of the defualt Textbox. In 3.5, I could just perform a databind on dropdownlist.Selected value. I notice two things in 4.0 that are different:
1. I define my dropdownlist (it's static so it is hardcoded) in the InsertItemTemplate but it is not defined in the code behind file (does not show up in intellisense either).
2. If I define the dropdown outside the Listview COntrol (just for experimental sake), the dropdownlist does up but does not have the propert of Selectedvalue - a propert that cleary showed up in 3.5 which I used databind on - does not show up on the property list anymore.
Does anybody know how do perform such a basic function in 4.0? Many thanks in advance.
View Complete Post