This question is locked. New answers and comments are not allowed.
Hi,
I am using RadGridView control, getting an issue with it. when I am preesing <Insert> key from Keyboard then it adds a new blank row in RadGridView control.
I want it should not be added, with that <Insert> key from the keyboard. Code is given below for refrence. thanks in advance
<
telerik:RadGridView
x:Name
=
"GridTasks"
CanUserSortColumns
=
"False"
IsFilteringAllowed
=
"False"
Width
=
"Auto"
VerticalAlignment
=
"Top"
AutoGenerateColumns
=
"False"
ShowColumnFooters
=
"False"
ItemsSource
=
"{Binding InvoiceTasks}"
SelectedItem
=
"{Binding SelectedTask, Mode=TwoWay}"
SelectionChanged
=
"GridTasks_SelectionChanged"
GotFocus
=
"GridTasks_GotFocus"
LostFocus
=
"GridTasks_LostFocus"
SelectionMode
=
"Single"
SelectionUnit
=
"FullRow"
telerik:StyleManager.Theme
=
"{StaticResource EditableGridTheme}"
DataLoaded
=
"GridTasks_DataLoaded"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewColumn
UniqueName
=
"img"
Width
=
"33"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
ContentControl
IsEnabled
=
"False"
Content
=
"{Binding Converter={StaticResource WorkFlowImageConverter}}"
></
ContentControl
>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Created,StringFormat='dd.MM.yyyy HH:mm'}"
EditTriggers
=
"None"
IsReadOnly
=
"True"
Header
=
"{Binding Path=Localizer[IA.Views.WorkflowPage.TaskGridHeader_Created], Source={StaticResource Localizations}}"
UniqueName
=
"CreatedDate"
Width
=
"*"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Thanks,
Gurpreet