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

[Solved] Gridclientselect column header

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ayesha
Top achievements
Rank 1
Ayesha asked on 11 Dec 2009, 03:32 AM
Hi,

I need to persist the items selected in my grid across pages . I did this with an arraylist and it works fine.

I use an arraylist, store it in session and retrieve the values. I use an itemcommand event which gets fired when row is being clicked .

But what event gets fired when i select the header checkbox? is there any server side or client side event which gets genertaed.

B'coz when i select the header check box, all the items in mygrid gets selcted. But why the item commnad does not get fired. Pls help me with code samples.

How do i persist these items selcted when header checkbox is selcted and store them also in arraylist.

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 14 Dec 2009, 03:41 PM
It seems as if the event you will be looking for is the OnRowSelecting event, which should be triggered once for each row after the header gets selected. During this event if you follow the guidelines found in this article you should be able to persist the selected items.
Tags
Grid
Asked by
Ayesha
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or