Last post Oct 07, 2014 12:15 AM by chetan.sarode
Sep 30, 2014 04:35 AM|asad_dba|LINK
I want to do autocomplete cascading with textbox its possible , as I want to enter employee no in textbox having autocomplete ajax and get employee name into another textbox which as having autocomplete (ajax) in my asp.net
. My table as followed
Table name: Employee
Oct 01, 2014 03:35 AM|Kevin Shen - MSFT|LINK
For your issue,here are my suggestion for you:
First ,i suggest you can use jquery ajax auto complete function to complete cascading .
Second,you can first define ajax to first request to get all the employee no like autocomplete.
you can define select function when you select the item,it will fire a request to get a employee number responding to your employee id.
set the employee name to your second textbox.
Third, you can use ajax auto complete for your second textbox control.
you can refer to the link below:
Oct 01, 2014 04:40 AM|asad_dba|LINK
since both column belong to one table , what if I will concatenate selected record while fetching data from data reader in (webservice/Function) and later on separate them, again the question is how to separate,any way available in autocomplete class like
Oct 06, 2014 10:56 PM|Kevin Shen - MSFT|LINK
You don't need to use substring() method,in your first autocomplete you can only select the id column.
while in your second auto complete textbox,you just need to select name from database.
Oct 07, 2014 12:15 AM|chetan.sarode|LINK
Hi, Please refer this