This is a migrated thread and some comments may be shown as answers.

In any telerik controls

1 Answer 27 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Lola
Top achievements
Rank 1
Lola asked on 29 Oct 2014, 10:08 AM
when executing telerik demos, there is a dropdown list displayed by default and contains a default item.
I need to remove this dropdown but, i do not know How?

the code of this dropdown in view source:
<tr class="rcbReadOnly">
<td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input name="SkinChooser" type="text" class="rcbInput radPreventDecorate" id="SkinChooser_Input" value="Default" readonly="readonly" autocomplete="off"></td><td class="rcbArrowCell rcbArrowCellRight"><a id="SkinChooser_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
</tr>

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 03 Nov 2014, 09:09 AM
Hello Lola,

I am not quite sure that you attempt to achieve by removing the rcbSlide. You could use jQuery in order to remove the element from the page:

$telerik.$(".rcbSlide").remove()

However, but this will cause a misbehavior of the control and a javascript error on the page, when you attempt to expand the dropdown of the RadComboBox. In addition, If you could elaborate a bit more on the scenario you attempt to achieve, we could provide you with an appropriate solution.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
SearchBox
Asked by
Lola
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or