I am not getting the DataValueField from AutoCompleteBox using JAVASCRIPT.
I am getting the Text name of the field but not there ID/Value.\
i go thru various Telerik post ,i founf get_value() function but when i am using it dosn't work.
suggest me the what can i do.
<
p
> function textChanged(sender, eventArgs) {</
p
>
alert("The text currently present in the input area of RadAutoCompleteBox is: " + eventArgs.get_text());<
br
>
}
this textChanged function i put on
<
telerik:RadAutoCompleteBox
RenderMode
=
"Lightweight"
ID
=
"txtPatient"
runat
=
"server"
Filter
=
"Contains"
Width
=
"100%"
<br>InputType="Text" DataValueField="MTPatientID" DataTextField="Patient" EmptyMessage="Select Patient" WebServiceSettings-Method="BindAllpatient" MinFilterLength="4" OnClientTextChanged="textChanged"><
br
> <
WebServiceSettings
Method
=
"GetCompanyNames"
Path
=
"QAFileProcess.aspx"
/><
br
> <
TextSettings
SelectionMode
=
"Single"
/><
br
></
telerik:RadAutoCompleteBox
>
please suggest me how can i find the value.