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

Editable Combo box?

1 Answer 206 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sivakanth
Top achievements
Rank 1
sivakanth asked on 25 Jan 2011, 06:00 AM
Hi,
      I have one clarification.
I am using telerik radcombo box in our latest project.here i am inserting  all country values from one XML file to one rad combo box.

Every thing is fine.But the selected value is not showing on combo box. also the editable option not working.
<Window x:Class="WpfApplication7.MainWindow"
        Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Window.Resources>
        <XmlDataProvider x:Key="XmlData" Source="CountryList.xml" XPath="CountryList"/>
    </Window.Resources>
    <Grid>
        <telerik:RadComboBox Height="23" ItemsSource="{Binding Source={StaticResource XmlData}, XPath=./CountryName}" DisplayMemberPath="@Name"  HorizontalAlignment="Left" Margin="176,88,0,0" Name="comboBox1" VerticalAlignment="Top" Width="156" IsEditable="True" />
    </Grid>
</Window>
and This is my countrylist Xml file.
<?xml version="1.0" encoding="utf-8" ?>
<CountryList>
  <CountryName Name="Afghanistan"/>
  <CountryName Name="Akrotiri"/>
  <CountryName Name="Albania"/>
  <CountryName Name="Algeria"/>
  <CountryName Name="American Samoa"/>
  <CountryName Name="Andorra"/>
  <CountryName Name="Angola"/>
  <CountryName Name="Anguilla"/>
  <CountryName Name="Mauritius"/>
  <CountryName Name="Mayotte"/>
  <CountryName Name="Mexico"/>
  <CountryName Name="Micronesia"/>
  <CountryName Name="Moldova"/>
  <CountryName Name="Monaco"/>
  <CountryName Name="Mongolia"/>
  <CountryName Name="Montserrat"/>
  <CountryName Name="Morocco"/>
  <CountryName Name="Western Sahara"/>
  <CountryName Name="Yemen"/>
  <CountryName Name="Zambia"/>
  <CountryName Name="Zimbabwe"/>
  </CountryList>

i am setting isEditable=True;(If i want to select india mean i just put cursor on combo box then press i.that time all country name will display with first letter i.But here not working.)

I have attached the sample solution also here.

pls give me correct solution.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 26 Jan 2011, 04:12 PM
Hi Sivakanth,

Sorry, I couldn't find the sample project you send us. Could you please open a support ticket and attach it there. Meanwhile, I can suggest you to review the following help article: http://www.telerik.com/help/wpf/radcombobox-populating-with-data-binding-xml.html

Hope this will help. I am glad to assist you further.

Greetings,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
ComboBox
Asked by
sivakanth
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or