Hi!
After upgrading to the latest release, I no longer receive updates after cells/rows have been edited.
I have attached a small example which I believe would work under last version (can't verify this since I have uninstalled it) but not under Q1.
Is there another way to hook up the events, or some other way to detect changes?
Thanks!
After upgrading to the latest release, I no longer receive updates after cells/rows have been edited.
I have attached a small example which I believe would work under last version (can't verify this since I have uninstalled it) but not under Q1.
Is there another way to hook up the events, or some other way to detect changes?
Thanks!
| <Window x:Class="GraphTest.Window2" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Title="Window2" Height="300" Width="300" Loaded="Window_Loaded"> |
| <Grid> |
| <telerik:RadGridView AutoGenerateColumns="True" telerik:GridViewCell.EditEnded="gridview_EditEnded" telerik:GridViewRow.EditEnded="gridview_RowEditEnded" x:Name="gridview" Grid.Column="0" Grid.Row="0" > |
| </telerik:RadGridView> |
| </Grid> |
| </Window> |
| using System.Windows; |
| using System.Collections.ObjectModel; |
| namespace GraphTest |
| { |
| /// <summary> |
| /// Interaction logic for Window2.xaml |
| /// </summary> |
| /// |
| public partial class Window2 : Window |
| { |
| public Window2() |
| { |
| InitializeComponent(); |
| } |
| private void Window_Loaded(object sender, RoutedEventArgs e) |
| { |
| gridview.ItemsSource = new TestList(); |
| } |
| private void gridview_RowEditEnded(object sender, Telerik.Windows.Controls.GridView.Rows.RecordRoutedEventArgs e) |
| { |
| // Never gets called |
| MessageBox.Show("Row edit"); |
| } |
| private void gridview_EditEnded(object sender, Telerik.Windows.Controls.GridView.Cells.CellRoutedEventArgs e) |
| { |
| // Never gets called |
| MessageBox.Show("Cell edit"); |
| } |
| } |
| public class TestDataEntry |
| { |
| public int id { get; set; } |
| public string value { get; set; } |
| } |
| public class TestList : ObservableCollection<TestDataEntry> |
| { |
| public TestList() |
| { |
| Add(new TestDataEntry() { id = 1, value = "something" }); |
| Add(new TestDataEntry() { id = 2, value = "something else" }); |
| } |
| } |
| } |