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.
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.
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.