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

Selecting Rows

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 07 Dec 2010, 10:31 PM

I know how to make the RadGrid do a postback ( RadGrid1_SelectedIndexChanged event ) when a single row is clicked and I know how to set the grid up to select multiple rows but I cannot figure out how to make it automatically do a postback after I have selected multiple rows.  Is there a way to do that?

Thanks

John

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 08 Dec 2010, 07:40 AM
Hello John,


I guess you want a postback when you drag to select multiple items. In that case, the client-side OnRowSelecting/OnRowSelected will be fired and the SelectedIndexChanged server event will not.

A work-around would be invoking postback explicitly from the client handler to server side. There is a KB Article which shows how to perform postback on grid client events.
Performing postback from grid client events


Try the approach and see whether it suitable for your requirement.


-Shinu.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or