Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
how can we search the items list like a regualar dropdown :
ddl.SelectedIndex = ddl.Items.IndexOf(cbxPractitionerList.Items.FindByValue("X");
Hello David,
The following code can be used to pre-select an item:
<telerik:RadMultiColumnComboBox runat="server" ID="RadMultiColumnComboBox1" DataTextField="text" DataValueField="value"> <Items> <telerik:MultiColumnComboBoxItem Text="Item 1" Value="1"></telerik:MultiColumnComboBoxItem> <telerik:MultiColumnComboBoxItem Text="Item 2" Value="2"></telerik:MultiColumnComboBoxItem> <telerik:MultiColumnComboBoxItem Text="Item 3" Value="3"></telerik:MultiColumnComboBoxItem> <telerik:MultiColumnComboBoxItem Text="Item 4" Value="4"></telerik:MultiColumnComboBoxItem> </Items> </telerik:RadMultiColumnComboBox>
using System.Linq;
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { RadMultiColumnComboBox1.Index = RadMultiColumnComboBox1.Items.ToList() .IndexOf(RadMultiColumnComboBox1.Items.FindChildByValue("3")); } }
Regards, Peter Milchev Progress Telerik