Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
In order to enable adding new items, while disabling editing existing ones, you can handle the BeginningEdit event of the grid like follows:
private void playersGrid_BeginningEdit(object sender, GridViewBeginningEditRoutedEventArgs e)
{
if (this.playersGrid.Items.CurrentAddItem != e.Row.Item)
e.Cancel = true;
return;
}
private void playersGrid_Deleting(object sender, GridViewDeletingEventArgs e)