This is a migrated thread and some comments may be shown as answers.

"Enter" key does not come out of the edit mode

2 Answers 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daniel Nevers
Top achievements
Rank 1
Daniel Nevers asked on 07 Oct 2009, 09:31 AM
Hello again,

I have another anoying bug in the GridView! With the following grid's XAML code:

<telerik:RadGridView Grid.Row="1" Margin="0,5,0,5" Name="rgvAdministrativeAgent" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" SelectionChanged="rgvAdministrativeAgent_SelectionChanged" AutoGenerateColumns="False" RowEditEnded="rgvAdministrativeAgent_RowEditEnded" ValidationMode="Row">  
    <telerik:RadGridView.Columns> 
        <telerik:GridViewDataColumn Header="Name" DataMemberPath="Name" /> 
        <telerik:GridViewDataColumn Header="Abbreviation" DataMemberPath="Abbreviation"  /> 
    </telerik:RadGridView.Columns> 
</telerik:RadGridView> 

When I start editing a row, everything is fine until I hit the "enter" key!

Then, the RowEditEnded event is launched as expected but when it ends, the row stay in edit mode! As long as I use the "enter" key, it will stop the edition mode and worse: it will relaunch each time the RowEditEnded event with a strange behavior because de e.newData stays the same as the first time the event was launched (even if data was modified before hitting "enter" key).

The only way to get out of this is to click anywhere else (wich launches also the RowEditEnded).

I don't know if it is normal, but I would expect the grid to stop editing the row when hitting "enter".
Is there any workaround?

Thanks,

Daniel

2 Answers, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 08 Oct 2009, 03:40 PM
Hello Daniel Nevers,

Indeed there was such an issue, and it is already fixed.
Please try it with the assemblies from the latest internal build.

Best wishes,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Daniel Nevers
Top achievements
Rank 1
answered on 09 Oct 2009, 06:07 AM
Thank you,

I'll test the newest version as soon as possible!

Best regards,

Daniel
Tags
GridView
Asked by
Daniel Nevers
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Daniel Nevers
Top achievements
Rank 1
Share this question
or