skip navigation
Telerik UI for WPF
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting & Mocking
Telerik Reporting
Telerik Report Server
Telerik JustMock
Automated Testing
Test Studio
Test Studio Dev Edition
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
Fiddler Jam
FiddlerCap
FiddlerCore
Extended Reality
UI for Unity XR
Free Tools
JustAssembly
JustDecompile
VB.NET to C# Converter
Testing Framework
View all products
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Support and Learning
Support and Learning Hub
First Steps
Docs
Demos
Virtual Classroom
Forums
Videos
Blogs
Submit a Ticket
Productivity and Design Tools
Visual Studio Extensions
Visual Studio Templates
Embedded Reporting
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WPF
This is a migrated thread and some comments may be shown as answers.
How to programmatically set SELECTEDITEM
2 Answers
362 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric
asked on
16 Nov 2009,
05:42 PM
Hi..
I'm trying to set the SELECTEDITEM and/or the SELECTED VALUE of combobox in code
this.cmb.SelectedItem = Customers.Name;
But it doesn't work any ideas? It's always null
<radcombox x:name="cmb" SelectedValuepath="Name"
SelectedItem = "{Binding Name, Mode=TwoWay}"
thanks
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
Jon
Top achievements
Rank 1
answered on
16 Nov 2009,
06:17 PM
Make sure the length of the selected item matches the value in the list.
Add a comment
Submit comment
Cancel
0
Ravi
Top achievements
Rank 1
answered on
27 Jul 2010,
02:36 PM
Hi,
I have also tried this code but it is not working.
So,
Please give any suggession ASAP.
Thanks,
Ravi
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
ComboBox
Asked by
Eric
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Ravi
Top achievements
Rank 1
Share this question
or
Copy link