I added a WebDropDown to a Content page and set it to allow multi selection and with MultiSelectionType Keyboard. It worked properly. Then, I changed the MultiSelectionType to Checkbox and it worked properly. Then, I changed the MultiSelectionType back to keyboard and the check boxes still show. I have removed the dropdown box from the form and placed a new one and the checkboxes still show. I have reset IIS and cleared the cache on the server and the checkboxes still show.
How can I make the checkboxes in the WebDropDown control go away?
Thanks,
Fernando
Hello Fernando,
I'm glad to hear you were able to resolve your issue. If you happen to have any additional questions or concerns let me know.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
Maya,
I found the problem. It was between the keyboard and my chair. I created a method to load the dropdown with data, where the method received a reference of a dropdown, a dataset, and some other parameters, such as the dtatext field name and datavalue field name, etc... Inside that function I was setting the MultiSelectionType to Checkbox (I did that earlier in the development to see how it would behave). I forgot that I had that setting inside the LoadDropDown function and tried to change that setting somewhere else in code to Keyboard and also in the Property Window. Surely enough, when the dropdown was being loaded the function changed that setting back to Checkbox. I modified the function to set it to Keyboard and it works now as I want it to.
Fernando.
Thank you for posting in our forum.
Generally setting the MultipleSelectionType to “Keyboard” should suffice.
Try rebuilding your project and clearing the browser’s cache. The change should be properly reflected.
Are you able to reproduce this in any other application other than the one you’ve deployed in IIS?
I’m looking forward to your reply.