Hi,
I have a really simple test page for RadSearchbox as following.
As you can see it is nothing more than bind search box with a sql datasource.
when I try to search I could get all the result back as I am expecting, but when I click on any result item, the Radsearchbox text is not filled in as item's text.
Could you help here?
Telerik ASP.NET Ajax control ver. v.2013.1.417.40
Thank you so much.
I have a really simple test page for RadSearchbox as following.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sample.aspx.cs" Inherits="Sample" %><%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager2" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"> </asp:ScriptReference> </Scripts> </telerik:RadScriptManager> <div> <br /> <telerik:RadSearchBox ID="RadSearchBox1" runat="server" DataKeyNames="CONTACT,ID" DataSourceID="SqlDataSource1" DataTextField="CONTACT" DataValueField="CONTACT" EmptyMessage="test" > </telerik:RadSearchBox> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Example_ConnectionString %>" SelectCommand="SELECT [ID], [CONTACT] FROM [CONTACTS]"></asp:SqlDataSource> </div> </form></body></html>when I try to search I could get all the result back as I am expecting, but when I click on any result item, the Radsearchbox text is not filled in as item's text.
Could you help here?
Telerik ASP.NET Ajax control ver. v.2013.1.417.40
Thank you so much.