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

Multi select using Shift key apparently doesn't work

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 11 Jul 2011, 06:32 PM
Hi

I have looked at the example you have that describes how to mult-select items in a grid,
but apparently the Shift key mechanism doesn't trigger an Item_Command event.

Using the Ctrl key does, clicking on the row does, and clicking on the CheckBox in my selection column
ALL Trigger Item_Commands marked as RowClick.

Any help greatly appreciated. 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 12 Jul 2011, 03:01 PM
Hi Tim,

Multiselection using the Shift key is a client-side feature of the grid. It does no cause a postback and is used only for client selection. That is why it does not fire the ItemCommand event.
Handling such action on the server would require customizations through client script. You could use the RowSelected client event to capture the selections on the fireCommand() method to fire a custom command on the server and then handle it accordingly in the ItemCommand server event handler of the grid.

Greetings,
Tsvetina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or