I have the following SearchBox defined:
When i hit the OnClientSearch event i want to get the value that being selected from the dropdown. Currently i can not get any data out of the get_text, get_value functions. How do i get the value out of the selection?
<
telerik:RadSearchBox
ID
=
"radSBKeywords"
runat
=
"server"
Skin
=
"MetroTouch"
OnClientSearch
=
"Search_ClientSearch"
DataValueField
=
"HREF"
DataTextField
=
"Name"
DataKeyNames
=
"Name,HREF"
>
<
WebServiceSettings
Path
=
"../../WebServices/Telerik_WS.asmx"
Method
=
"GetSearchItems"
/>
<
DropDownSettings
Height
=
"300"
>
<
HeaderTemplate
>
<
b
><
a
href
=
"javascript:ClickSearchButton();"
>See All Results or Choose Below</
a
></
b
>
</
HeaderTemplate
>
<
ClientTemplate
>
<
span
class
=
"searchText"
>#= Type # - #= Name #</
span
>
</
ClientTemplate
>
</
DropDownSettings
>
</
telerik:RadSearchBox
>
When i hit the OnClientSearch event i want to get the value that being selected from the dropdown. Currently i can not get any data out of the get_text, get_value functions. How do i get the value out of the selection?