Hello,
I want to implement a custom copy and paste function for all my GridViews.
Therefore I registered an application wide command binding for all RadGridView types.
However, the handlers are not executed.
Even if I do the binding directly on a GridView:
What I am doing wrong?
Best regards,
Franziska
I want to implement a custom copy and paste function for all my GridViews.
Therefore I registered an application wide command binding for all RadGridView types.
var copyBinding =
new
CommandBinding(RadGridViewCommands.Copy, ExecuteGridViewCopyCommand,
CanExecuteGridViewCopyCommand);
CommandManager.RegisterClassCommandBinding(
typeof
(RadGridView), copyBinding);
However, the handlers are not executed.
Even if I do the binding directly on a GridView:
var copyBinding =
new
CommandBinding(RadGridViewCommands.Copy, ExecuteGridViewCopyCommand,
CanExecuteGridViewCopyCommand);
gridViewCategories.CommandBindings.Add(copyBinding);What I am doing wrong?
Best regards,
Franziska