Is it possible to add a new row into the gridview when you use paging?
without the paging it works, but our client would like to use paging.
I am using a datatable to fill up the datagrid (I receive this from a dll from a client).
VB
Dim pagedSource = New QueryableCollectionView(GetDataTable().AsEnumerable.ToList)
Me.radDataPager.Source = pagedSource
Me.radGridView.ItemsSource = pagedSource
XAML
<StackPanel
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,5,0,0">
<telerik:RadButton
Width="150"
Content="Add new row"
Margin="0,0,5,0"
Command="telerikGrid:RadGridViewCommands.BeginInsert"
CommandTarget="{Binding ElementName=RadGridView}" />
</StackPanel>
<telerik:RadDataPager
x:Name="radDataPager"
PageSize="10"
DisplayMode="All"
IsTotalItemCountFixed="false"
VerticalContentAlignment="Bottom"
</telerik:RadDataPager>
<telerik:RadGridView
x:Name="radGridView"
ItemsSource="{Binding PagedSource, ElementName=radDataPager}"
VerticalAlignment="Top"
CanUserDeleteRows="False"
CanUserInsertRows="True"
CanUserReorderColumns="False"
ShowGroupPanel="False"
AutoGenerateColumns="False"
ShowInsertRow="True">
</telerik:RadGridView>