Redrawing a table upon Javascript event (with ASP.Net Web forms)
Redrawing a table upon Javascript event (with ASP.Net Web forms)
CanAndy
Posts: 1Questions: 0Answers: 0
Hi there
I am using the datatables plug in to display search results.
I can bind the table to a server side json object called using Ajax on page initialisation. This was done using a customised fnServerData function call.
However, I want to refresh the results upon each keypress in a textbox (a la Google), but I can't seem to get either the redraw or ReloadAjax functions to make the same call to the server side code.
Do I need to associate the custom ReloadAjax function or Redraw with the custom fnServerData function, or is there something else I'm missing?
Thanks in advance
Andy
I am using the datatables plug in to display search results.
I can bind the table to a server side json object called using Ajax on page initialisation. This was done using a customised fnServerData function call.
However, I want to refresh the results upon each keypress in a textbox (a la Google), but I can't seem to get either the redraw or ReloadAjax functions to make the same call to the server side code.
Do I need to associate the custom ReloadAjax function or Redraw with the custom fnServerData function, or is there something else I'm missing?
Thanks in advance
Andy
This discussion has been closed.