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

Filter Event

4 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrés David Santacoloma Isaza
Top achievements
Rank 1
Andrés David Santacoloma Isaza asked on 18 May 2011, 05:49 PM
Hi:
I need to know wath event fires when I press enter on filterbox on gridview.

thanks.

4 Answers, 1 is accepted

Sort by
0
Elliott
Top achievements
Rank 2
answered on 18 May 2011, 09:46 PM
grid ItemCommand
CommandName="Filter"

get the command name as a property of the GridCommandEventArgs
0
Andrés David Santacoloma Isaza
Top achievements
Rank 1
answered on 18 May 2011, 10:38 PM
Hi:
I have twod grids. The first have one column only, and I need when I filter in this grid, update the rows displayed in the other grid.
Thanks.
0
Andrés David Santacoloma Isaza
Top achievements
Rank 1
answered on 18 May 2011, 11:01 PM
Hi:

Explained
in more detail the topic
I have two GridView (A, B), and when I click on a GridView row "A ", the GridView "B" load some rows.
When I filter a GridView value in the "A", there is a line where if I click, goes the same as in the previous situation.
The problem arises because when I filter the GridView "A ", including selecting a row in itself, I need to load the rows in the gridview "b", having the same behavior when I click on a row of GridView "A ".

Thanks.
0
Elliott
Top achievements
Rank 2
answered on 19 May 2011, 02:44 PM
I'm just a developer like yourself
set up an ItemCommand event hander in code behind and look for e.CommandName="Filter"
make sure both tables have names and look for that, too
you may run afoul of the NeedDataSource logic
Tags
Grid
Asked by
Andrés David Santacoloma Isaza
Top achievements
Rank 1
Answers by
Elliott
Top achievements
Rank 2
Andrés David Santacoloma Isaza
Top achievements
Rank 1
Share this question
or