This is a simple Auto Complete using aspx, which I have learned from internet
1. get to know the AutoComplete from https://www.aspsnippets.com/Articles/...
2. get to know the Using Ajax with jQuery from https://sites.google.com/site/lagater...
a. Create new module
b. Make sub folder Services
c. Copy Default.aspx, Default.aspx.cs to folder Services (step b), change filename from Default to AutoComplete, update Namespace
d. From your view user control (ASCX), add the Textbox (copy and modify from step 1)
Enter search term:
e. add the script (copy and modify from step 1)
f. Add the command to code behind for verify information
protected void Submit(object sender, EventArgs e)
string customerName = Request.Form[txtSearch.UniqueID];
string customerId = Request.Form[hfCustomerId.UniqueID];
ScriptManager.RegisterStartupScript(Page, this.GetType(), "alert", " ame: " + customerName + "\\nID: " + customerId + "');", true);
Hope it help!