Using 2009.1 controls.
I've added a WebDropdown to my edititemtemplate in a formview. I've enabled multiselect and bound it to a datasource.
<ig:WebDropDown ID="WebDropDown1" runat="server" DataSourceID="SqlDataSource_SystemTypes" TextField="Item_Text" ValueField="Item_Value" DropDownAnimationType="Linear" DropDownContainerHeight="0px" DropDownContainerMaxHeight="0px" DropDownContainerWidth="0px" EnableDropDownAsChild="True" EnableMultipleSelection="True" MultipleSelectionType="Checkbox" PageSize="0" Width="100%"> </ig:WebDropDown>
The webDropdown is visible (aside from the dropdown arrow graphic whereever that is supposed to exist) and it is populated properly.
I can check multiple items. Looks good.
When I handle my formview_updating event to grab the selections so I can stuff them in a table, I have only the items I initially selected when the formview was databound. No items that I have checked on the form are marked as selected in the webdropdown.items or selecteditems collections.
How depressing.
Is there some way to reliably access the selected items?
Hello,
I've tried to replicate the described behavior but without success. I would suggest you to upgrade to latest service release available for your version. After the upgrade if you still experience the issue please create a support request and provide detailed information about the issue. Would be best if you provide a sample which reproduce the problem and we will take care further to fix it.
Thank you for your cooperation.
Attached is my page and masterpage. I'm trying is a couple of places in the vb code to cycle through the items collection to see which items are selected - the only item I ever see selected is the one I selected on load. The selectedItems collection only shows the single item as well. This is after I run in debug mode, open the page, and make multiple selections on the webdropdown.
I'll actually attach the code this time (sorry)..
I just wanted to let you know that WebDropDown control is not compatible with WARP, i have seen somewhere in your code.
Right. I had tried using no updatepanel at all, using a plain AJAX updatepanel, and a WARP panel. I didn't get anywhere with any attempt.
Thanks.