
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.
I need to know wath event fires when I press enter on filterbox on gridview.
thanks.
4 Answers, 1 is accepted
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
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.
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.
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
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