Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8182893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:59:43+00:00 2026-06-07T00:59:43+00:00

I wish to do this using only XAML – How to add an additional

  • 0

I wish to do this using only XAML – How to add an additional RadComboBoxItem to data bound RadComboBox? – is this possible ?

I have an observable collection that is populating a combo box.

                <telerik:RadComboBox Grid.Row="0" ItemsSource="{Binding ListOfNumbers}" DisplayMemberPath="Name" EmptyText="All" SelectedItem="{Binding SelectedNumber, Mode=TwoWay}"/>

As you can see, at the moment I have the EmptyText property set to “All”. This works perfectly, in the method where the value of this combobox is used, I check it, if it is == "", if it is, then it retrieves all data. This is what happens when I first open my view, with nothing selected.

The problem is, when I select a number, I can no longer select “All”, which is quite annoying as I would like to be able to.

How can I add this choice to my comboBox and make it save a value of “” to my dependency property, SelectedNumber ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:59:45+00:00Added an answer on June 7, 2026 at 12:59 am

    Something like this should work:

    <telerik:RadComboBox.ItemsSource>
        <CompositeCollection>
          <CollectionContainer
            Collection="{Binding ListOfNumbers}" />
    
          <telerik:RadComboBoxItem Name="Default" Content="All Builds" Value=""></telerik:RadComboBoxItem >
        </CompositeCollection>
      </telerik:RadComboBox.ItemsSource>
    

    No ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this XML structure that I wish to construct in JSON format using
I have a WordPress blog with numerous URL's I wish to replace from this:
How can I do this? Tried using a TypeConverter, but the only thing I
I have this layout file called menuAdmin. I wish to, each time a given
Is it possible to add a event to the domain service class? I have
i'm using datagridviewcomboboxcell to display values. I wish this cells value is int. But:
I am looking for a way to chart data using C# .NET. I have
I wish to implement IPC using Named Shared Memory. To do this, one of
If I have a table with data like this : Col1 | Col2 |
I’m starting my development in Cocos2D and I wish to make this card effect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.