Hello Telerik Team,
I have some problems using Radcombo box in our latest project.In my latest WPF project we are using telerik rad controls.
Here i have one combo box for adding country list.
In my project I am creating one folder name DAL.Inside DAL i am creating xml file(Named as CountryList.xml).
I am populating data from xml is completed.But editable,filtering everything was not working.
Mainly the selected item not display on combo box when iseditable=True;Pls give me correct solution for us.
i have attaced sample code here.
Pls suggest me as soon as possible.
I have some problems using Radcombo box in our latest project.In my latest WPF project we are using telerik rad controls.
Here i have one combo box for adding country list.
In my project I am creating one folder name DAL.Inside DAL i am creating xml file(Named as CountryList.xml).
I am populating data from xml is completed.But editable,filtering everything was not working.
Mainly the selected item not display on combo box when iseditable=True;Pls give me correct solution for us.
i have attaced sample code here.
My xml code is below:
Name is CountryList.xml
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
Country
>
<
CountryName
Name
=
"Ashmore and Cartier Islands"
/>
<
CountryName
Name
=
"Australia"
/>
<
CountryName
Name
=
"Austria"
/>
<
CountryName
Name
=
"Bahamas"
/>
<
CountryName
Name
=
"Bahrain"
/>
<
CountryName
Name
=
"Bangladesh"
/>
<
CountryName
Name
=
"Barbados"
/>
<
CountryName
Name
=
"Bassas da India"
/>
<
CountryName
Name
=
"Belarus"
/>
<
CountryName
Name
=
"Belgium"
/>
</
Country
>
This is my Wpf XAML Code:
<
Window
x:Class
=
"WpfApplication8.MainWindow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
>
<
Window.Resources
>
<
XmlDataProvider
x:Key
=
"XmlData1"
Source
=
"DAL\CountryList.xml"
XPath
=
"Country"
/>
</
Window.Resources
>
<
Grid
>
<
telerik:RadComboBox
ItemsSource
=
"{Binding Source={StaticResource XmlData1}, XPath=./CountryName}"
DisplayMemberPath
=
"@Name"
IsEditable
=
"True"
IsFilteringEnabled
=
"True"
TextSearchMode
=
"StartsWith"
StaysOpenOnEdit
=
"True"
HorizontalAlignment
=
"Left"
Margin
=
"164,100,0,0"
Name
=
"radComboBox2"
VerticalAlignment
=
"Top"
Width
=
"174"
>
</
telerik:RadComboBox
>
</
Grid
>
</
Window
>