riklomas / quicksearch

A jQuery plugin for searching through tables, lists, etc quickly
http://www.lomalogue.com/jquery/quicksearch/
680 stars 261 forks source link

Page reload - rows not filtered #33

Closed michaellwest closed 12 years ago

michaellwest commented 13 years ago

I found a situation in which the variable "val" is empty, but "this.val()" could return the value contained in the search textbox. The textbox is within an ASP.net webform with viewstate enabled.

The scenario: The application is using a Gridview and FormView control. Enter text into search box and see rows filtered. View the contents of one of the rows which loads the FormView and hides the table. Close the FormView and the table is not filtered.

For the search box I changed the bind from "keyup" to "keyup load" which should fire on the page refresh.