2
Answers

Repeater- How to Add search box in it

i want to know how add search box in repeater i.e. when we type in that box ,showing results in repeater must be searchable like jquery datatable
 
Please reply ASAP.
 
thanks
Answers (2)
0
Akshay Phadke

Akshay Phadke

NA 16.7k 1.3m 8y
you can have a search box take just a textbox and you can use atocomple in jquery for your search functinality for autocomplete you can reefer this
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/jquery-auto-complete-text-box-in-Asp-Net-C-Sharp/
Accepted
0
Amar Gaikwad

Amar Gaikwad

NA 364 10.7k 8y
You need to use auto-complete feature provided by jQuery or AJAX control toolkit. If the size of data is less and there is no complex logic involved in fetching records through search then it is better to keep all the data in local variable (or in viewstate) for better performance. When user types any character you can fetch the records from local variable instead of talking to data layer.