AJAX Control Toolkit AutoCompleteExtender
Even after i click the textbox with different values that are already there in the xml , nothing is auto populated
[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]
public static string[] GetCompletionList(string prefixText, int count, string contextKey)
{
XmlTextReader Reader = new XmlTextReader("App_Data/Employee.xml");
List<string> returnData = new List<string>();
while (Reader.Read())
{
returnData.Add("//EmployeeName");
}
return returnData.ToArray();
//return default(string[]);
}
I am not sure if the control is even passed to this function. How can i check it the control is passed to this function
|