Hello,
I have a page that I'm building that uses a AutoCompleteBox inside of a repeater. I am trying to load the control inside of the the ItemDataBound method of the repeater, but an error gets thrown before it can even be called saying "Datasource not set" referring to the AutoCompleteBox. Is there a specific way that I should be loading the control? Here is a snippet of the control being loaded inside the ItemDataBound method of the repeater. Thanks for any help.
{
RepeaterItem item = e.item;
txtAgent = (RadAutoCompleteBox)item.FindControl("txtAgent");
txtAgent.DataSource = Agent.GetListOfAgents();
txtAgent.DataBind();
}