Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
444
How can I programatically (CSOM) select an Item in the WebDropDown?
posted

Hi Guys,

I am trying to select an item in the WebDropDown without clicking it.  I see the methods to set an active item and also select an item by index. How can I use them?

I have this 

 

var tmp = $find("LetterDropDown1");

 

var items = tmp.get_items();

 

 

var itemToSelect;

The "items" doesn't seem to be an Array. What I'm trying to do here is say I have a value ("99"), how do I find the item in the drop down who's value is "99" and then make that be the selected item? I want it to be like the user opened the dropdown and made a selection. How in the world can I do this? I fought tooth and nail to not use Infragisitcs controls in this project as there is so very little support and documentation, but nonetheless I was forced into using the WebDropDown here. Please proove me wrong and demonstrate good customer service and tech support and show a very simple example of how to accomplish this. Prefereably this week as the normal turn around seems to be weeks. Can you help me?

Thanks,

Kettenbach