我正在尝试使用javascript将值设置为raddropdownlist,但无法选择select。
var dropdownlist = $find("<%= rcbLayout.ClientID %>");
var item = dropdownlist.findItemByText(rlvControllers._dataSource[itemIndex].FORMLAYOUT);
item.select();
标记:
<asp:Label ID="LayoutLabel" runat="server" Text="Form Layout:"></asp:Label>
<telerik:RadDropDownList RenderMode="Lightweight" ID="rcbLayout" Width="250px" DataTextField="TEXT" DataValueField="VALUE" runat="server"></telerik:RadDropDownList>