>Hey, Bill,
>
>It's been a long time, but I believe once I used a checkedlistbox in a webpage instead of trying to get a multiselect dropdown to work. Yes, a different type of control, but it was functional for my situation. Just a crazy thought...
I was getting ready to use a checkboxlist in a panel to fake a dropdown but was really trying to use a clean (read that: easy) solution. There are several free downloadable multiselect dropdown controls available as well, and I tried a couple, but I couldn't get any of them to work cleanly.
Last night I finally just deleted all my attempts to date and added a single simple webdropdown to my edititem templates of my formview, and the d@mn thing worked as advertised. I added the code I needed to load it and retrieve selections and it still worked.
Then I copied it to my InsertItemtemplate. Neither one worked.
It finally hit me - the webdropdown control's javascript code apparently doesn't handle templated controls cleanly. The controls have to have different IDs in each template (I've never hit that with any other control, and I use formviews all over the place).
Giving the controls different IDs and setting my code to look at the correct ID depending on formviewmode works.
What a PITA.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________