RadComboBox - Telerik's ASP.NET ComboBox

Apr 18, 2013 at 9:22 AM
Edited Apr 18, 2013 at 9:24 AM
Hello, The combobox I need to set value on is like the below one:

http://demos.telerik.com/aspnet-ajax/combobox/examples/overview/defaultcs.aspx

It wont find it in this way:

CUITe_HtmlComboBox comboBox = tabGeneral.Get<CUITe_HtmlComboBox>("Id=probability_Arrow");
        comboBox.SelectItem(2);
as it is not an HTML combo box but a Custom telerik combobox. How can I access/set values on this type of control?

HTML code of this control:
<DIV style="WIDTH: 76%" id=myprobability class="RadComboBox RadComboBox_Default" value>
<TABLE style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 100%; BORDER-COLLAPSE: collapse; BORDER-TOP-WIDTH: 0px; TABLE-LAYOUT: fixed; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" summary=combobox>
<TBODY>
<TR class=rcbReadOnly>
<TD style="MARGIN-TOP: -1px; WIDTH: 100%; MARGIN-BOTTOM: -1px" class="rcbInputCell rcbInputCellLeft"><INPUT style="DISPLAY: block" id=probability_Input class=rcbInput title=Probability name=nameprobability readOnly autocomplete="off" jQuery1710020562988865085008="4"></TD>
<TD style="MARGIN-TOP: -1px; MARGIN-BOTTOM: -1px" class="rcbArrowCell rcbArrowCellRight"><A style="POSITION: relative; OUTLINE-STYLE: none; DISPLAY: block; OVERFLOW: hidden" id=probability_Arrow>select</A></TD></TR></TBODY></TABLE><INPUT id=probability_ClientState name=probability_ClientState value='{"logEntries":[],"value":"","text":"","enabled":true,"checkedIndices":[],"checkedItemsTextOverflows":false}' type=hidden autocomplete="off"> </DIV>
Thank you in advance.
Coordinator
Apr 22, 2013 at 1:21 AM
Hi Marco007,

You can use the Telerik_ComboBox class from the latest source code.

Please see this discussion for sample code and details: https://cuite.codeplex.com/discussions/438278