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

Remove Ctrl+A from GridView

1 Answer 136 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 23 May 2016, 11:37 AM

Hi,

I want to remove Ctrl+A, which will select all record in GridView.

I have requirement that User will be able to select multiple record/row by clicking on that. But user should not be able to Select All either from Header selction column check box or Ctrl+A.

 

Please suggest how to do that ASAP.

 

--

Manoj S

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 25 May 2016, 01:20 PM
Hello Manoj,

The behavior you're trying to achieve can be simply achieved by the following lines of code:

<telerik:RadGridView>
    <telerik:RadGridView.InputBindings>
        <KeyBinding Modifiers="Control" Key="A" Command="ApplicationCommands.NotACommand" />
    </telerik:RadGridView.InputBindings>
</telerik:RadGridView>

Would such an approach be applicable for your specific scenario?

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Manoj
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or