Hi,
In my case I have one AutoCompleteBox. Its Databinding From Server Side i.e.code behind. but Data not showing in AutoCompleteBox so provide solution.
My code is..
Client Side:
<telerik:RadAutoCompleteBox ID="cmplt_agent" Runat="server" InputType="Token"
Width="80%" Filter="StartsWith"
DropDownWidth="200" DropDownHeight="150" AllowCustomEntry="true"
ontextchanged="cmplt_agent_TextChanged" >
<TokensSettings AllowTokenEditing="true" />
</telerik:RadAutoCompleteBox>
code behind:
public void GetAgent()
{
AgentIdTitle = cs.GetAgentIdTitle(Ld.SubscriberInformationId);
cmplt_agent.DataSource = AgentIdTitle;
cmplt_agent.DataTextField = "Title";
cmplt_agent.DataValueField = "Id";
cmplt_agent.DataBind();
}
Thanks,
Rahul
In my case I have one AutoCompleteBox. Its Databinding From Server Side i.e.code behind. but Data not showing in AutoCompleteBox so provide solution.
My code is..
Client Side:
<telerik:RadAutoCompleteBox ID="cmplt_agent" Runat="server" InputType="Token"
Width="80%" Filter="StartsWith"
DropDownWidth="200" DropDownHeight="150" AllowCustomEntry="true"
ontextchanged="cmplt_agent_TextChanged" >
<TokensSettings AllowTokenEditing="true" />
</telerik:RadAutoCompleteBox>
code behind:
public void GetAgent()
{
AgentIdTitle = cs.GetAgentIdTitle(Ld.SubscriberInformationId);
cmplt_agent.DataSource = AgentIdTitle;
cmplt_agent.DataTextField = "Title";
cmplt_agent.DataValueField = "Id";
cmplt_agent.DataBind();
}
Thanks,
Rahul