RadGridView breaks when you have no data in it and you try and paste. I get a DataGrid_DisplayIndexOutOfRange exception. Here is an example:
I was wondering if this is a known issue and if there was a work around.
<
Window
x:Class
=
"TestTablePaste.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadGridView
>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
>
<
telerik:RadMenuItem
Header
=
"Paste"
Command
=
"ApplicationCommands.Paste"
></
telerik:RadMenuItem
>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
telerik:RadGridView
>
</
Grid
>
</
Window
>
I was wondering if this is a known issue and if there was a work around.