This is a migrated thread and some comments may be shown as answers.

persisting a refined datatable

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 06 Oct 2011, 09:14 AM

I have added a search function to my grid, essentially a stored procedure to refine the grid display for a term entered by the user that occurs in any of 2 columns.

This works fine initially, but isnt maintained for any actions such as paging, edit or cancel, the grid then returns to the initial default databinding of all records.

I added a Clear button to allow the user to load all records again, but would like to be able to make any search done persist and only show these records until the user clicks clear or page reloads.

1 Answer, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 06 Oct 2011, 02:33 PM
ok i found out how to do it by setting my datasource in the _NeedDataSource event
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Share this question
or