Editable Combo box?

2 posts, 0 answers
  1. sivakanth
    sivakanth avatar
    50 posts
    Member since:
    Dec 2010

    Posted 25 Jan 2011 Link to this post

          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">
            <XmlDataProvider x:Key="XmlData" Source="CountryList.xml" XPath="CountryList"/>
            <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" />
    and This is my countrylist Xml file.
    <?xml version="1.0" encoding="utf-8" ?>
      <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"/>

    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.
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 26 Jan 2011 Link to this post

    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.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
Back to Top