Hi
I have a simple RadAutoCompleteBox as follows :-
and the XML File looks like this
However I am getting this error in a popup on keystroke
System.Web.UI.WebControls.XmlDataSoureNodeDescriptor does not contain a property with the name "Name"
What am I doing wrong?
Thanks for your help
I have a simple RadAutoCompleteBox as follows :-
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
div
>
<
telerik:RadAutoCompleteBox
ID
=
"RadAutoCompleteBox1"
runat
=
"server"
DataTextField
=
"Name"
DataValueField
=
"Id"
DataSourceID
=
"XmlDataSource1"
/>
<
asp:XmlDataSource
runat
=
"server"
ID
=
"XmlDataSource1"
DataFile
=
"Persons.xml"
>
</
asp:XmlDataSource
>
</
div
>
</
form
>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
Persons
>
<
Person
>
<
Id
>1</
Id
>
<
Name
>Rita</
Name
>
<
Surname
>Nelson</
Surname
>
<
Age
>59</
Age
>
</
Person
>
<
Person
>
<
Id
>2</
Id
>
<
Name
>Simon</
Name
>
<
Surname
>West</
Surname
>
<
Age
>59</
Age
>
</
Person
>
<
Person
>
<
Id
>3</
Id
>
<
Name
>Richard</
Name
>
<
Surname
>Mitchell</
Surname
>
<
Age
>59</
Age
>
</
Person
>
<
Person
>
<
Id
>4</
Id
>
<
Name
>Alison</
Name
>
<
Surname
>McGrath</
Surname
>
<
Age
>59</
Age
>
</
Person
>
</
Persons
>
However I am getting this error in a popup on keystroke
System.Web.UI.WebControls.XmlDataSoureNodeDescriptor does not contain a property with the name "Name"
What am I doing wrong?
Thanks for your help