Search

WPF DataGrid becomes readonly after deleting an invalid row by omjbe

Closed

2
0
Sign in
to vote
Type: Bug
ID: 777761
Opened: 1/29/2013 6:56:32 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
The WPF DataGrid becomes readonly after deleting an invalid row. The DataGrid is bound to an ObservableCollection.

The same is true for the Move operations (Move up/down).
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

1) Download and extract the attached DataGridCrash.zip file.
2) Open the solution and start the WPF application.
3) Select the first Age cell and enter: "abc" and press the enter key.
4) The cell gets a red border because it is invalid.
5) Click on the Remove button.

Product Language

English

Operating System

Windows 7 SP1

Operating System Language

English

Actual results

The invalid row gets deleted but the whole DataGrid is now readonly. It is not possible to edit a cell anymore.

Expected results

The DataGrid should stay editable.
File Attachments
File Name Submitted By Submitted On File Size  
DataGridCrash.zip 1/29/2013 10 KB
Sign in to post a comment.
Posted by Microsoft on 2/14/2013 at 2:22 PM
The WPF team has recently reviewed this issue and will not be addressing this issue as at this time the team is focusing on the bugs impacting the highest number of WPF developers. If you believe that this was resolved in error, please reactivate this bug with any necessary supporting details.
Posted by Microsoft on 2/4/2013 at 3:41 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 1/29/2013 at 9:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.